I have been using JSON in several web projects via javascript and PHP, it is truly a great format and lets us developers focus on apps. I am trying write a...
... even tough it sounds like a very interesting project, from which many thing can be made from (like error-checking, and stuff like that), it looks to me,...
Perhaps it may help to look at the JSON parsing bits (written in C#) that are part of the Jayrock[1] project. I originally started with the C# code from...
Hello, First, I apologize if this is a bit off-topic, but I hope someone can help. I'm having a problem with passing non-ASCII parameters using XMLHttpRequest....
A new class, JSONStringer, has been added to the Java package org.json. JSONStringer provides a convenient set of methods for building a JSON text. See...
WebDAV is an accepted standard for implementing web-folders, but the WebDAV specification is very complex and requires an XML parser with namespace support. We...
Has anybody hacked a simple zipping algorithm for JavaScript terse literal constructs such as Arrays and Objects (JSON)? I am doing so much data piping through...
... Obfuscation will not give you good security. If you want security for your data, then the most straightforward way is to use https for your JSON requests. ...
... for your data, then the most straightforward way is to use https for your JSON requests. I agree and am doing the https route but since I am mostly...
Hi All, I wonder if anyone can help.I come from a background of programming in PHP, and am only just beginning to get to grips with the power of Javascript....
The javascript for/in syntax actually iterates over the properties of an object or indexes of an array. Javascript39;s "for(index in array)" is roughly...
The value of i in the for/in loop is a string that represents the name of the object's property being enumerated for that iteration. You need to index the...
Hi, Thanks so much. I've been tearing my hair out. When I tried brs.i.text, and it didn't work, I never thought to use the brackets. I'll need to rejig my JSON...
... This may be more than you're looking for, but you might want to take a look at Dojo ShrinkSafe: http://alex.dojotoolkit.org/shrinksafe/ -- Martin Cooper I...
This could be a useful thing to have in JS, for security goof checks prior to the very-dangerous eval(). -mike. ... michal migurski- contact info and pgp key: ...
Are comments officially out of the specification? It seems so looking at the current state of the spec http://www.json.org/. ... existing decoders can continue...
JSON does not have comments. A JSON encoder MUST NOT output comments. A JSON decoder MAY accept and ignore comments. Comments should never be used to transmit...
... Not now, but it used to have comments. I believe it's time to start versioning the spec. Several things have changed, and people have different ...
As Martin already said, JSON used to have comments. I don't know what led to the stringent opinion (perhaps from field experience) that they are so harmful as...
I had posted in the original thread talking about comments and wanted to follow up here as well. While meta data, like comments, might be useful, the only way...
These were the reasons for removing comments: First, comments turned out to not be very useful. Second, comments were the most difficult feature to support in...
I have a a new version of JSON.parse in JavaScript. It is vastly faster and smaller than the previous version. It uses a single call to eval to do the...
I am assuming the order of reasons list was not significant. ... This is always rather subjective. When you consider that all text formats strive for and boast...
... I don't really consider comments as meta-data, unless you mean in the style of javadocs. I see comments as much a presentation aspect of the syntax as...
... To be more robust, shouldn't it catch errors thrown due to malformed JSON that still passes the regex, like the following (fairly minimal case): ] Andrew...