What would be the recommended way of converting the result of an regexp.exec(str) method call to JSON? The result is an array but with two extra properties;...
896
Gustavo Munoz
justavo_munoz
Nov 1, 2007 12:48 am
Great job, Douglas. There is a typo in the initial multiline comment at line 57, it says JON.parse ... -- Blog: http://justavo.blogsome.com/ [Non-text portions...
895
Ric Johnson
ricjohnsoniii
Oct 31, 2007 1:10 am
Thank you for implmenting this. this make the code so much cleaner. Now if we can just get the Prototype library to stop overloading Object.... ... stringify ...
894
Kris Zyp
kriszyp
Oct 30, 2007 4:26 pm
I for one totally agree with the decision to revert to the original API. While I know that defensive enumeration is good practice, I really appreciate keeping...
893
Stephen M. McKamey
stephen.mckamey
Oct 29, 2007 5:00 pm
I've been using my C# JSON parser for about a year now as I've been building out a larger end-to-end Ajax framework. Last week, I released the JSON parser...
892
Douglas Crockford
douglascrock...
Oct 29, 2007 4:52 pm
The original version of json.js had a JSON object containing stringify and parse methods. When the opportunity to add JSON support to the next proposed...
891
lhilaiel
Oct 17, 2007 6:34 pm
Hello all, http://lloydforge.org/projects/yajl/ This is a fast, lightweight, portable JSON parsing/generation/validation library. It's design goals were to ...
890
Michael Schwarz
schwarz_inte...
Oct 14, 2007 5:40 pm
Hi, ... I write one for Mac and Windows, well, it is not a real plugin, but a way to integrate it in you web pages. ... What I thought was pages like...
889
collin_jackson
Oct 14, 2007 5:26 pm
... Can you tell us which platform you are developing a client plugin for? ... The browser's security policy isn't granular enough to separate URIs into...
888
Frans Thamura
fthamura
Oct 14, 2007 3:20 pm
hi all i am seeking an Java based of JSON that can convert JSON become URL, this is called URLEncoder and URLDecoder, anyone have it? FransThamura Indonesia...
887
Michael Schwarz
schwarz_inte...
Oct 14, 2007 11:54 am
Hi, one thing I didn't get a answer yet about security: I expect that NTLM is not working with JSONRequest, too, is that correct? Some other questions while...
886
Kris Zyp
kriszyp
Oct 13, 2007 3:47 pm
JSON JavaScript Object NotationCisco, have you tried Subspace/CrossSafe (http://www.xucia.com/page/CrossSafe)? It is a JS library that provides secure...
885
cisco_sethcall
Oct 12, 2007 7:53 pm
I'm the type of person that is pretty impatient, and given the past history of browsers with regards to adopting standards, I'm curious on anyone's feelings on...
884
Douglas Crockford
douglascrock...
Oct 11, 2007 1:20 pm
... You're right....
883
Mark Ireland
akaidr4vr
Oct 11, 2007 7:02 am
Will this work? Emp["localvar.name"] To: json@...: mahesh_mission@...: Thu, 11 Oct 2007 05:19:55 +0000Subject: [json] Accessing a...
882
mahesh_mission
Oct 11, 2007 5:20 am
Hi, I have a JSON object whose structure is like this: The name of the object is 'Emp' and the attributes are: name age sex department address Later in my...
881
Douglas Crockford
douglascrock...
Oct 10, 2007 10:34 pm
A design error in Firefox could allow parseJSON to include an eval function object in the resulting JSON object. This situation will now raise an exception. ...
880
John David Duncan
jddefn
Oct 10, 2007 8:36 pm
... Thanks! I have one more thought about the proposal. The Firefox plugin chooses to send an "Accept: application/ jsonrequest" header with the request, and...
879
Kris Zyp
kriszyp
Oct 10, 2007 4:34 pm
I wanted to initiate some dialogue about JSON referencing conventions. I did a write up at http://www.json.com/2007/10/09/json-referencing-schemes/ on a number...
878
kriszyp
Oct 6, 2007 4:25 pm
I have been working on putting together a proposal for a JSON Schema. I have been collaborating with some others, but I wanted to elicit feedback, input, and...
877
ketan_vjti
Oct 6, 2007 5:26 am
Here is the link http://ketankhairnar.blogspot.com/2007/06/json-utility-using-asm-java-bytecode.html let me know what you think......
876
Douglas Crockford
douglascrock...
Oct 5, 2007 9:31 pm
A new version of json.js is available. It corrects a problem in parseJSON where it was possible to have the contents of one of the caller's variables included...
875
Stig Brautaset
stigbrau
Oct 3, 2007 7:49 pm
Hi Henrik, ... Wow! That's great. Checking whether I pass these (and making sure I do, if I don't already) is next on my agenda. Stig -- ...
874
Gaetano Giunta
gaetanogiunt...
Oct 3, 2007 5:10 pm
I tested php json parsers using the test cases you can find here: http://gggeek.altervista.org/sw/article_20070425.html I personally prefer the parser to...
873
Henrik Hjelte
jagarenbrape...
Oct 3, 2007 2:00 pm
... The Json checker contains testcases you can use. If all tests pass, I would be confident that everything works ok. Get the testcases here:...
872
Brautaset Stig
stigbrau
Oct 3, 2007 1:18 pm
Do you have a piece of (valid!) JSON that some JSON parsers find difficult to parse? If you do, I'd love to get my hands on it. I'm writing a JSON framework[0]...
871
Julian Tonti-Filippini
mediocritass
Oct 3, 2007 7:16 am
I wanted to modify json.js to add RegExp support so I added the following: RegExp.prototype.toJSONString = function () { return this.toString().toJSONString();...
870
kriszyp
Sep 27, 2007 4:39 pm
I think you want: MainData.Company.Data[EmpNo]...
869
Douglas Crockford
douglascrock...
Sep 27, 2007 1:39 pm
... That form of eval is not in the ECMAScript standard. I recommend that you stick with the standard language....