... 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 ...
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...
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...
1618
cmbgoud
Mar 3, 2011 1:50 pm
Is there any way to represent XSD as JSON (with the constraints intact)....
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...
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...
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:...
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...
1623
toddkingham
Mar 11, 2011 10:21 pm
Thanks.... that was fast :)...
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...
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...
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 +-...
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...
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 ...
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...
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...
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...
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...
1633
Douglas Crockford
douglascrock...
Apr 13, 2011 1:16 pm
The JSON page is now available in Serbian, thanks to Dragan Sretenović. http://json.org/json-sr.html...
1634
Stephan Beal
stephan.beal
Apr 22, 2011 1:16 pm
Hi, all! i thought one or two of you might find a use for this: http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/select-to-json It's a small C app...
1635
Paul C. Bryan
paul.bryan@...
Apr 23, 2011 4:53 pm
I've published an informational Internet-Draft for JSON Patch, a proposed structure for specifying partial modifications to JSON documents. You can see it at: ...
1636
Paul C. Bryan
paul.bryan@...
Apr 25, 2011 3:27 pm
On Sun, 2011-04-24 at 18:37 -0600, Kris Zyp wrote (in response to an ... Point taken. In an iteration prior to publishing draft 00, I actually had a "replace"...
1637
jkrogsboell
Apr 25, 2011 4:56 pm
Hi Paul, First, I like the idea of updating a json document with a json document containing change and from my point of view you almost got it right :). My...
1638
Dragan
dragansr
Apr 29, 2011 2:32 am
Is there some spec for XML - JSON bi-directional conversion? I have observed a few tools that have this feature, including JSON-java by Douglas Crockford ...
1639
Tatu Saloranta
cowtowncoder
Apr 29, 2011 12:08 pm
... There are multiple conventions for doing this, such as Badgerfish. Main question is "why", that is, what is the reason for using such conversions: mostly...
1640
stephen.mckamey
Apr 29, 2011 4:24 pm
This "impedance mismatch" has been a source of a lot of solutions with various trade-offs. One of the first encodings is called BadgerFish which uses an '@'...
1641
John Cowan
johnwcowan
Apr 29, 2011 6:18 pm
... I'd like to push for JsonML being the official JSON-syntax representation of the MicroXML data model, since they match perfectly: an element has a name,...
1642
uriel.chemouni
May 16, 2011 10:16 am
Hi I have recently published my Json API. Features test: http://code.google.com/p/json-smart/wiki/FeaturesTests Benches test: ...
1643
Petri Lehtinen
akhern...
May 16, 2011 10:46 am
... It seems you have implemented your own data format that you call "smaller JSON data". It's wrong to call this format JSON as it violates the JSON spec in...
1644
marsdenjw
May 16, 2011 11:13 am
Wow, JSONiJ sucks. Regards, John (Developer, JSONiJ)...