Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4366 > unrolled thread

JSON

Started byMartin <spam@spam.spam>
First post2012-11-14 13:15 +0000
Last post2012-11-16 16:36 -0800
Articles 5 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  JSON Martin <spam@spam.spam> - 2012-11-14 13:15 +0000
    Re: JSON Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2012-11-15 14:06 +0100
      Re: JSON Johan Nel <johan.nel@xsinet.co.za> - 2012-11-15 05:09 -0800
        Re: JSON Martin <spam@spam.spam> - 2012-11-15 15:09 +0000
    Re: JSON Sherlock <sherlock@sherlock.com.au> - 2012-11-16 16:36 -0800

#4366 — JSON

FromMartin <spam@spam.spam>
Date2012-11-14 13:15 +0000
SubjectJSON
Message-ID<uPMos.269964$YJ1.112188@fx09.am4>
Has anyone handled JSON format at all?

Is there a VO reader?

Thanks

Martin

[toc] | [next] | [standalone]


#4367

FromKarl Faller <k.faller_withoutthat_@onlinehome.de>
Date2012-11-15 14:06 +0100
Message-ID<24q9a85shqilqt1bln40m4me86khtoq5qv@4ax.com>
In reply to#4366
Martin,
>Has anyone handled JSON format at all?
>Is there a VO reader?
as noone else gives his 0,2ct <g>
PostgreSql has since V9.2 "native" support for a JSON datatype, so it
should be possible to use it via SQL

Karl

[toc] | [prev] | [next] | [standalone]


#4368

FromJohan Nel <johan.nel@xsinet.co.za>
Date2012-11-15 05:09 -0800
Message-ID<f576deb4-7a46-4c48-87c1-9bf00b4d9f70@googlegroups.com>
In reply to#4367
On Thursday, 15 November 2012 15:06:33 UTC+2, Karl Faller  wrote:
> Martin,
> >Has anyone handled JSON format at all?
> >Is there a VO reader?
> as noone else gives his 0,2ct <g>
> PostgreSql has since V9.2 "native" support for a JSON datatype, so it
> should be possible to use it via SQL
> Karl
Karl,

You still need a class to Scatter/Gather a JSON in VO for use...
But no, I don't have a class yet.  Would probably do it rather in Vulcan if the need arise.

Regards,

Johan Nel
Vulcan VIP
Durban, South Africa.

[toc] | [prev] | [next] | [standalone]


#4369

FromMartin <spam@spam.spam>
Date2012-11-15 15:09 +0000
Message-ID<OA7ps.195446$Xv.72177@fx07.am4>
In reply to#4368
OK thanks both

So for now I am going to have to write a simple function which can call 
itself to return array elements.

Writing is easy, reading will be more work, will read the whole file 
into a string then work at it.

On 15/11/2012 13:09, Johan Nel wrote:
> On Thursday, 15 November 2012 15:06:33 UTC+2, Karl Faller  wrote:
>> Martin,
>>> Has anyone handled JSON format at all?
>>> Is there a VO reader?
>> as noone else gives his 0,2ct <g>
>> PostgreSql has since V9.2 "native" support for a JSON datatype, so it
>> should be possible to use it via SQL
>> Karl
> Karl,
>
> You still need a class to Scatter/Gather a JSON in VO for use...
> But no, I don't have a class yet.  Would probably do it rather in Vulcan if the need arise.
>
> Regards,
>
> Johan Nel
> Vulcan VIP
> Durban, South Africa.
>

[toc] | [prev] | [next] | [standalone]


#4375

FromSherlock <sherlock@sherlock.com.au>
Date2012-11-16 16:36 -0800
Message-ID<e2b298e2-d509-4f68-ba54-d0bb5c039bd5@googlegroups.com>
In reply to#4366
snip[ Has anyone handled JSON format at all? ]

Martin

There is source code in all sorts of languages and the JSON.ORG
I also would like a pure VO Json parser for a job I have to do in  Feb where this would be the way to go.

Not a Java person not sure how to convert a parser that is 270 lines of code.
The VB version has source and sll the test scenarios.

Also Postgres now has native support for JSON objects.

Tell me how you get on.

Phil McGuinness
---

JAVA
blog.ilandos.com/json-parser

VB6
www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=74424&lngWId=1

Phil

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web