“JSON is built on two structures:” I think if you look a little further into the spec on JSON.org you will see that in addition to these two basic...
459
Atif Aziz
azizatif
Jul 12, 2006 8:59 pm
I'm afraid that Simon is right. The Internet Draft clearly states, "A JSON text is a serialized object or array." The JSON-text production is defined as...
460
Todd
todd_kingham
Jul 12, 2006 9:12 pm
Thanks for the great feedback Atif. But Im really not looking to introduce behavior into JSON at all. I dont think we even need to get that in depth in...
461
rogue_pedro
Jul 14, 2006 2:04 am
... No problem.. I hate to be the bearer of bad news.. :) Incidentally, though, if you didn't go with ... I just didn't see it at first. www.json.org had...
462
Mert Sakarya
mertsakarya
Jul 17, 2006 7:04 am
Hi, I am using readonly datasets in the following format; { "DataSet" : { "Tables" : [ { "Fields" : ["Column1","ImgDate","Column2"], "Records" : [ ...
463
Fang Yidong
fangyidong
Jul 17, 2006 7:26 am
If used in general purpose,maybe it's good to add the table name and the field datatypes in the metadata section. ... === message truncated === -- JSON: Action...
464
Michael Schwarz
schwarz_inte...
Jul 17, 2006 10:37 am
Because I'm currently using .NET data types in my JSON parser, do you think it would be a good idea to use common data type identifiers like used in XML...
465
Fang Yidong
fangyidong
Jul 17, 2006 12:15 pm
Common datatypes seem to be a good idea. Maybe we can do 'JSON schema'? :-) But as to XML schema, I think it's too complicated. ... ...
466
Michael Schwarz
schwarz_inte...
Jul 17, 2006 12:30 pm
Here is an example I'm currently using: { "dataSet" : { "tables" : [ { "name": "My Table 1", "columns" :...
467
Michael Schwarz
schwarz_inte...
Jul 17, 2006 12:39 pm
I've done some test on that, and almost all simple web services that offer JSON as output could be compiled using the XSD compiler inside .NET SDK, what was...
468
Fang Yidong
fangyidong
Jul 17, 2006 1:07 pm
Because string,number,boolean and null is build-in in JSON,maybe types represented in string like 'date' be more helpful. ... ...
469
Fang Yidong
fangyidong
Jul 17, 2006 1:16 pm
I don't know. JSON sparkles in its simplicity.It39;s a challenge bring in an elegant and simple common type system,I think.Maybe Douglas can give some comments? ...
470
Michael Schwarz
schwarz_inte...
Jul 17, 2006 1:32 pm
For date, time,... I use this currently: http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#isoformats ... -- Best regards | Schöne Grüße Michael Microsoft...
471
Atif Aziz
azizatif
Jul 17, 2006 10:10 pm
In Section 3 (Encoding) of the JSON Internet Draft, the second paragraphs starts by saying, "Since the first two characters of a JSON text will always be ASCII...
472
Michal Migurski
michal_migurski
Jul 17, 2006 10:27 pm
... I'm guessing this is because of the object-or-array rules discussed here last week. In other words, a JSON text must start with '[' or '{', which are both...
473
Atif Aziz
azizatif
Jul 17, 2006 11:05 pm
I've been doing some thinking along these lines for my work on the JSON-RPC 1.1 specification. In JSON-RPC 1.1, I added introspection support for services,...
474
Atif Aziz
azizatif
Jul 18, 2006 9:34 am
Michal, thanks for the explanation. It all makes sense now, especially after re-reading it with a fresher mind this morning. (whisper) Truth be told, I was...
475
Michael Schwarz
schwarz_inte...
Jul 18, 2006 9:54 am
Are you talking about a JSON schema or a message? Where do you want to put the type? I think there are two scenarios where type meta information is neccesary: ...
476
Mert Sakarya
mertsakarya
Jul 18, 2006 10:02 am
I think, simplicity in mind, JSON is not strong-typed, types are only "Variants" in JSON. I think, we only have, null, true/false, number and string (and we...
477
meyer_jon
Jul 24, 2006 3:05 pm
(longish, sorry if this has come up before, I didn't see it) Looking at the JSON-RPC spec, it offers a way to hint at types in JSON messages: ...
478
Atif Aziz
azizatif
Jul 24, 2006 6:12 pm
What do you think of the the ideas presented in message #473: http://groups.yahoo.com/group/json/message/473 There's even an example in there about how to...
479
Stefan Stefanov
stefan.stefanov
Jul 24, 2006 8:48 pm
Atif couldn't have said better. Stefan ... http://ide.li/ - . , , ,...
480
meyer_jon
Jul 25, 2006 12:00 am
... My concern is that, rather than leveraging JSON as a rich syntax for expressing type metadata, you are inventing a new syntax based on slashes, a slippery...
481
Atif Aziz
azizatif
Jul 25, 2006 12:05 pm
... The slash syntax is only used for naming the type, but JSON is certainly being leveraged to describe the structure of a type as show in the Person example:...
482
meyer_jon
Jul 25, 2006 3:13 pm
... I don't yet see how you define "time" or "person". How do you support enums? What about multidimensional arrays? Subclassing? My impression is that in...
483
Shelby Moore
shelbymoore3
Jul 25, 2006 6:34 pm
Apparently PHP has a bug that they marked "Won't Fix", which will prevent error reporting when JSON is output: http://bugs.php.net/bug.php?id=38184 You may...
484
Matt
mpcmtechnolo...
Jul 25, 2006 7:12 pm
Could someone here post to this group as to why (if) this is really an issue, I feel like I must be missing something. Is there a reason why a custom error...
485
Shawn Silverman
shawnsilverman
Jul 27, 2006 5:32 pm
... Just some thoughts.. I was experimenting with different ways to name things and came up with these: 1) Name the anonymous members using some sort of...
486
json@yahoogroups.com
Jul 27, 2006 6:26 pm
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the json group. File : /json-lib-1_0.zip ...
487
Douglas Crockford
douglascrock...
Jul 30, 2006 9:12 pm
The JSON RFC has been published. http://www.ietf.org/rfc/rfc4627.txt...