Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

36 results from messages in json

Advanced Search
  • Hello people and thanks for your responses. I hope I understand correctly that compatibility with JavaScript and the ECMAScript standard dictates that it would not be advisable for JSON to unilaterally add the extension of \U, but since any valid Unicode characters can be part of string literals (encoded in the appropriate encoding) I guess this is not too much of a problem. Thank...
    Shriramana Sharma Apr 8, 2013
  • Hello. I am thinking of using JSON for storing the data produced by my program. As I was reading through the website (json.org) I notice that the specification of strings mentions that \u followed by *four* hex digits can be used to represent Unicode codepoints. However, if that restriction of *four* hex digits is meant to be enforced, then it means that post-BMP codepoints (such...
    Shriramana Sharma Apr 7, 2013
  • Maybe. But I'm not looking for a workaround. I'm trying to push a bug fix towards json2.js This group seams to be the main communication entrypoint to http://www.json.org --Søren --- In json@^$1, Andrea Giammarchi wrote: > > Weird environment, I would trust more native implementations or json2.js > itself nullifying the method. > > Array.prototype.toJSON = null; > > Could it be...
    soren.hilmer Feb 16, 2010
  • Fetching Sponsored Content...
  • json2 is (http://www.json.org/json2.js). --Søren --- In json@^$1, Dennis Gearon wrote: > > what's json2? > > Dennis Gearon > > > > Signature Warning > > ---------------- > > EARTH has a Right To Life, > > otherwise we all die. > > > > Read 'Hot, Flat, and Crowded' > > Laugh at http://www.yert.com/film.php > > --- On Sun, 2/14/10, soren.hilmer wrote: > > From: soren.hilmer...
    soren.hilmer Feb 16, 2010
  • Hi Just ran into this issue with json2 (http://www.json.org/json2.js). In the environment where I'm developing the situation is that plain Objects does not have a toJSON function, but Arrays has one. When I then call JSON.stringify in json2 with an Object having an Array inside like this one: { b:[{k:2, v:3}] } I get {"b":"[{\"k\": 2, \"v\": 3}]"}, that is the Array is quoted, now...
    soren.hilmer Feb 14, 2010
  • Thank you for all the responses. I guess there were two parts to it. I was specifically interested in your insights on a XML element with both text and attributes can be represented in JSON. value2 If XML were value2 equivalent JSON could be {"attribute" : "value2"} if XML were JSON could be { "attribute" : { "a2" : "v2" } } But how about when both XML element's text and attributes...
    Shalab Goel Sep 14, 2009
  • Hello, Is there a standard way to represent the information in following XML snippet as JSON output. value1 value2 Is there an online tool that would generate this conversion? Appreciate your response. ~S [Non-text portions of this message have been removed]
    Shalab Goel Sep 14, 2009
  • Thanks to all that replied to my prior post. This is my reply to you all. 1) Undefined is essential in languages that treat identifiers as hash keys of an object (i.e. modern dynamic scripting languages). Static identifier languages, can simulate dynamic identifiers with a hash collection class. 2) Afair, K&R (ANSI) C did not have null, only void*. In K&R (ANSI) C, void is not...
    Shelby Moore May 27, 2008
  • > Douglas Crockford wrote: > > As a name, it is implemented as a writable global > > variable, a feature with alarming security and reliability > > consequences. On further thought, this is not any more a security concern, than JavaScript (or the web page) itself. Agreed, it should be made read-only to prevent against non-malicious untended modification. There is no security in any...
    Shelby Moore May 27, 2008
  • Douglas, your insightful replies are helping me to understand better your and my concepts. Perhaps it was Einstein who said (paraphrased) that until one is forced to explain their concepts, they don't really understand them well. I appreciate the sound reasoning that got JSON to where it is today, but I remain yet unconvinced that undefined is not a critically missing literal. I...
    Shelby Moore May 26, 2008