Ah, I see. Well, I'd suggest changing the name to something more geared towards configuration... ECL, perhaps? ... -- Andrew Faulds (AJF) http://ajf.me/ ...
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...
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;...
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...
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....
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...
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...
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...
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]...
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...
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...
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...
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 ...
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...
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...
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 ( ...
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 ...
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...
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...
1900
Reaus@...
tkflick
Jul 11, 2012 9:00 pm
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),...
1901
Andrew Faulds
ajfweb@...
Jul 11, 2012 9:06 pm
I don't think this is really a JSON issue, more a browser issue, so I'd suggest going to StackOverflow instead. ... -- Andrew Faulds (AJF) http://ajf.me/ ...
1902
Reaus@...
tkflick
Jul 11, 2012 9:34 pm
ugg.. the dreaded punt! lol I've searched StackOverflow, but I'll post the question over there too. If anyone happens across this thread though and has any...
1903
Mark Ingalls
marking
Jul 11, 2012 9:58 pm
Just a stab in the dark here, but could the response from the QA server be putting your browser into IE 7 mode? ...
1904
Reaus@...
tkflick
Jul 11, 2012 10:41 pm
I didn't think so, but I went ahead and put the  <meta http-equiv="X-UA-Compatible" content="IE=8" /> tag into my master page and tested it. I did a view...
1905
Andrew Faulds
ajfweb@...
Jul 11, 2012 10:52 pm
You might want to JSLint your code, looks like there's some missing semicolons in there, and JSLint might spot what we haven't. ... -- Andrew Faulds (AJF) ...
1906
Matt (MPCM)
mpcmtechnolo...
Jul 12, 2012 4:59 am
It is an interesting set of propositions and a good conversation starter. But the value added is extremely minimal. These topics have come up in the past, they...
1907
Reaus@...
tkflick
Jul 12, 2012 3:57 pm
That was probably just a type when I copied it to the group. I did finally figure out what the problem was. It was basically an id10t error. I knew it was...
1908
Paul J. Lucas
ypjl
Jul 25, 2012 3:32 am
... Assume I have a valid reason to encode JSON as UTF-16BE (which is allowed). When doing so, is it still necessary to escape characters that are not in the...
1909
Petri Lehtinen
akhern...
Jul 26, 2012 4:23 am
... Yes you can. Regardless of encoding, you only have to escape ", \ and the control characters U+0000 to U+001F, and any other character can be represented...
1910
Jonas Tärnström
jskorpan
Aug 16, 2012 12:32 pm
The beauty and usefulness of JSON is in my opinion more of what they left out than what they took in. Any attempts to extend it is to make it less useful. //JT...