The JSON page is now available in Serbian, thanks to Dragan Sretenović. http://json.org/json-sr.html...
1632
M. Gholam
mehdigholam...
Apr 6, 2011 3:40 am
I have set nest depth to 10 but I'm checking object structures in fastJSON for .net which seems more than enough. Size limit is tricky as you might have to...
1631
jonathan wallace
ninja9578
Apr 5, 2011 9:41 pm
Since I've received a number of requests for more security options in libjson, I'm in the process of adding them and I have two questions regarding the default...
1630
Andrea Giammarchi
an_red...
Apr 4, 2011 1:37 pm
Me too, unfortunately that crap may be useful to create HTML5 shims due getters/setters possibility: e.g. Objet.create, localStorage with direct property...
1629
Douglas Crockford
douglascrock...
Apr 3, 2011 1:16 pm
... I am happy that you were able to get it working, but I have to tell you, I have absolutely no interest in supporting VBScript or typeof unknown. I have a...
1628
Andrea Giammarchi
an_red...
Apr 3, 2011 12:49 pm
This is mainly for Mr D and it's about json2.js ( probably the sans eval as well ) If I create an object through a VBScript class definition and this object ...
1627
Petri Lehtinen
akhern...
Apr 1, 2011 6:03 pm
Jansson 2.0.1 is out. This release fixes a few bugs, some of them major and some minor. The most important bug fixes are: * Fix strict key checking in...
1626
Tatu Saloranta
cowtowncoder
Mar 28, 2011 9:21 pm
On Mon, Mar 28, 2011 at 2:15 PM, gtcul ... You are better of using a package that does data binding, such as Jackson or GSON. -+ Tatu +-...
1625
gtcul
Mar 28, 2011 9:15 pm
Hi All, I'm sure this has been asked before but I cannot find it here, so here is my question Is there a simple way to convert/deserialize and JSON object into...
1624
jonathan wallace
ninja9578
Mar 11, 2011 10:57 pm
{"age":35} {"age":"35"} Are both legal JSON, but very different objects. Â In the first, age is the number 35, the second is a string with characters '3' and...
1623
toddkingham
Mar 11, 2011 10:21 pm
Thanks.... that was fast :)...
1622
John Cowan
johnwcowan
Mar 11, 2011 10:18 pm
... So it should: strings are quoted, numbers are not. ... Right. -- John Cowan cowan@... http://ccil.org/~cowan In computer science, we stand on each...
1621
toddkingham
Mar 11, 2011 10:16 pm
Just as the subject suggests... Do you need to double quote numeric values to be valid JSON? JSONlint seems to validate the following string just fine:...
1620
johne_ganz
Mar 4, 2011 12:44 am
... There is another relevant section (ECMA-262, 8.4 The String Type, pg 28) When a String contains actual textual data, each element is considered to be a...
1619
johne_ganz
Mar 4, 2011 12:18 am
... Restricting keys to < U+0080 (i.e., ASCII) is one way. Personally, I'm kinda partial to something along the lines of this: A JSON generator SHOULD only...
1618
cmbgoud
Mar 3, 2011 1:50 pm
Is there any way to represent XSD as JSON (with the constraints intact)....
1617
John Cowan
johnwcowan
Mar 2, 2011 7:29 pm
... Yup, it got here in Normalization Form C, using U+00C4 in both cases. But that's email for you, and perhaps that's Apple for you too. I'd stick with...
1616
John Cowan
johnwcowan
Mar 2, 2011 7:27 pm
... Actually, it doesn't mean anything, because the RFC only says that the keys of an object SHOULD (not MUST) be unique. In practice, people probably parse...
1615
John Cowan
johnwcowan
Mar 2, 2011 7:20 pm
... I don't think so. In particular, it is often helpful to allow keys named "$" or "#foo" or such. In any case, the normalization rule for JavaScript ...
1614
John Cowan
johnwcowan
Mar 2, 2011 6:45 pm
... Indeed they would, which is precisely why {foo: "bar"} is not conformant JSON any more than {if: "bar"} would be, although the first is conformant ...
1613
Dave Gamble
signalzerodb
Mar 2, 2011 6:43 pm
... I am aware of that :) It occurs to me that since the intention is that JSON text deserializes into an instanced object, which will in some cases be a ...
1612
Dave Gamble
signalzerodb
Mar 2, 2011 6:39 pm
To save people looking it up: ECMA-262, section 7.6: Two IdentifierName that are canonically equivalent according to the Unicode standard are not equal unless...
1611
John Cowan
johnwcowan
Mar 2, 2011 6:38 pm
... In JSON, unquoted keys are not permitted, so both keys and values are strings. -- Unless it was by accident that I had John Cowan offended...
1610
Dave Gamble
signalzerodb
Mar 2, 2011 6:29 pm
Better question: How does the ECMA/javascript spec limit variable names? This seems to be the same question, in practical terms. Dave. ... [Non-text portions...
1609
Dave Gamble
signalzerodb
Mar 2, 2011 6:21 pm
Would it be too much to specify that key names are to be ASCII top-bit-unset strings? i.e. in the definition of an object, designate that the "string" there is...
1608
mehdigholam@...
mehdigholam...
Mar 2, 2011 6:17 pm
Hello all, Huge optimizations again for fastJSON the .net implementations. http://www.codeproject.com/KB/IP/fastJSON.aspx Cheers,...
1607
johne_ganz
Mar 2, 2011 4:46 am
... The Foundation framework (specifically the NSString class) on Mac OS X and iPhone / iPad does. Not sure if 90+ million iPhones count for much, though. In...
1606
johne_ganz
Mar 2, 2011 3:58 am
... It is my opinion that the answer is "Yes". The standard must address some of the issues introduced by the use of Unicode (see below). Then there is the...
1605
Petri Lehtinen
akhern...
Feb 28, 2011 7:31 pm
Jansson 2.0 is finally out. This is a new major release that is (slightly) backwards incompatible with the older versions. Changes since v1.3 ... * Backwards...
1604
mehdigholam@...
mehdigholam...
Feb 27, 2011 7:47 am
Hello all, Huge speed optimizations in fastJSON v1.4 now officially the fastest JSON on the .net platform. http://www.codeproject.com/KB/IP/fastJSON.aspx...