Well.. that makes sense. But then why would it work when sitting on one server, and not on the other? It's the same code (I've double and triple checked),...
1899
Reaus@...
tkflick
Jul 11, 2012 7:33 pm
I checked the QA servers and they both have the latest patches. I double checked the date / version # on jscript.dll and I have the latest version of that as...
1898
Jos de Jong
wjosdejong
Jul 11, 2012 6:59 pm
To figure out what is going wrong, just do some debugging of your application - nothing special JSON related... - inspect the contents of...
1897
Brian Tompkins
iffdev
Jul 11, 2012 6:28 pm
Actually IE8 does, it is IE7 that doesn’t. But make sure you have the "ECMAScript, fifth edition" patch to be fully compliant ...
1896
Andrew Faulds
ajfweb@...
Jul 11, 2012 6:10 pm
Hey Tim, IE8 doesn't have built-in JSON support, since it doesn't support ES5. You should include Douglas's json2.js ( ...
1895
Reaus@...
tkflick
Jul 11, 2012 6:07 pm
I'm trying to implement a JSON call to simulate AJAX on a certain page where an AJAX panel isn't a viable option. I want call my .aspx page when a State is...
1894
Andrew Faulds
ajfweb@...
Jul 11, 2012 4:04 pm
How many times do these things have to be made clear? - JSON is a subset of ECMAScript 3, not just JavaScript - JSON used to have comments, but they were...
1893
Dennis Gearon
gearond...
Jul 11, 2012 3:54 pm
For this to be practical, there would have to be a version of JSMin for all languages, and maybe a nice shebang at the top (or at least a note to the meat ...
1892
Andrew Faulds
ajfweb@...
Jul 11, 2012 11:30 am
Yeah, that's my idea. I think, actually, you could do this with existing JSON parsers by asking them to preserve key ordering. ... [Non-text portions of this...
1891
Jos de Jong
wjosdejong
Jul 11, 2012 11:29 am
I think we are mixing up two things: - *Using JSON for data serialization/deserialization*. That is what JSON is meant for. Whitespaces and comments are...
1890
Jos de Jong
wjosdejong
Jul 11, 2012 11:11 am
That is an interesting idea. It sounds more like a configuration-file-editor than a parser. Parsers normally ignore whitespaces and comments as being no part...
1889
Andrew Faulds
ajfweb@...
Jul 11, 2012 10:54 am
As mentioned *countless* times, comments were removed from the JSON spec. ... [Non-text portions of this message have been removed]...
1888
EJ Campbell
ec109695
Jul 11, 2012 4:20 am
Given that YAML is a superset of JSON, you could standardize on YAML but encourage folks to make it look like JSON. -EJ...
1887
Tatu Saloranta
cowtowncoder
Jul 11, 2012 4:01 am
... What a great idea -- instead of having comments in where they belong, format spec, add a non-standard pre-processor. I really miss C coding. I am not...
1886
Dennis Gearon
gearond...
Jul 11, 2012 2:10 am
WOW! My mailbox doubled in volume in 4 hrs from this normally quiet mail list. I think this concept has stirred a hornets nest. I'll read this idea near the...
1885
douglascrockford
douglascrock...
Jul 11, 2012 12:38 am
... I'll say this one more time: If you want comments, then pipe JSMin in front of your JSON parser. You don't need a new standard....
1884
Andrew Faulds
ajfweb@...
Jul 10, 2012 11:57 pm
JSON had them, Crockford removed them because people used them for parsing directives which was problematic as it fragmented the standard and stopped there...
1883
Tatu Saloranta
cowtowncoder
Jul 10, 2012 11:56 pm
... If it is "JSON with comments", could call it json-c or jsonc, if "json-with-comments" is too long? Similar to how json-p (json with padding) is called;...
1882
Ben Atkin
vote_zaphod_...
Jul 10, 2012 11:35 pm
I wanted to pick something that didn't sound too much like JSON or too little like JSON. Too much like JSON and you get breakage. Too little like JSON and...
1881
Andrew Faulds
ajfweb@...
Jul 10, 2012 11:16 pm
Ah, I see. Well, I'd suggest changing the name to something more geared towards configuration... ECL, perhaps? ... -- Andrew Faulds (AJF) http://ajf.me/ ...
1880
Ben Atkin
vote_zaphod_...
Jul 10, 2012 11:12 pm
Thanks; I realize that, and also that since I'm the one making a file format I should be more accepting of criticism. But I don't mean to be whining. I see...
1879
Andrew Faulds
ajfweb@...
Jul 10, 2012 11:01 pm
I'm not telling you what to do, I'm just saying that whining that a fixed standard, which is designed for something different to what you want, does not do...
1878
Ben Atkin
vote_zaphod_...
Jul 10, 2012 10:42 pm
Don't tell me what to do....
1877
Andrew Faulds
ajfweb@...
Jul 10, 2012 10:41 pm
Don't complain that JSON isn't what you want it to be. There are plenty of alternative formats, use one of them, instead. ... -- Andrew Faulds (AJF) ...
1876
Ben Atkin
vote_zaphod_...
Jul 10, 2012 10:39 pm
Which format should I use, then? XML? http://www.coderanch.com/t/128908/XML/Preserve-comments-XSL But I like JSON! Also these configs are going to get turned...
1875
Andrew Faulds
ajfweb@...
Jul 10, 2012 10:30 pm
You don't want JSON, then. JSON isn't designed to update an existing file, it deserialises and serialises. ... -- Andrew Faulds (AJF) http://ajf.me/ [Non-text...
1874
Ben Atkin
vote_zaphod_...
Jul 10, 2012 10:18 pm
Thanks for pointing that out. That reminds me - another thing I want is to be able to automatically change something in an eon file without stripping out...
1873
Andrew Faulds
ajfweb@...
Jul 10, 2012 10:14 pm
JSMin isn't a full-blown filter, it relies on valid JS/JSON being passed in. pass in "b + ++a" and you'll get "b+++a" out. ... -- Andrew Faulds (AJF) ...
1872
Ben Atkin
vote_zaphod_...
Jul 10, 2012 10:12 pm
I agree filtering makes sense, but why run it through a full-blown filter when all I want is to support comments? I think this is a nice efficient and simple...
1871
Andrew Faulds
ajfweb@...
Jul 10, 2012 9:32 pm
I meant that you can't really nest things (although theoretically you could put an INI file as a string, but it's unwieldy) ... -- Andrew Faulds (AJF) ...