I updated my NSDictionary JSON methods so the output is now indented and easier to read. (Version 1.0 simply output one long string). Posting/Info/Download:...
305
RouteSlip.com
ryanhca
Mar 23, 2006 9:19 pm
Hi. I'm pretty experienced with Javscript but totally new to JSON and have a question... Is it possible to use JSON to "populate" objects that are already ...
306
Douglas Crockford
douglascrock...
Mar 23, 2006 9:38 pm
There are a number of approaches. An elegant one is to pass an initialization object to the constructor. function class2(init) { this.prop1 = init.prop1 ||...
307
Ryan Huff
ryanhca
Apr 3, 2006 1:42 am
Hello. Ordinarily I wouldn't ask others to debug a problem I'm having with MY code, but I'm stuck. Being a total newbie to JSON, I'm afraid I don't have enough...
308
Pavan Kumar Keely
keelypavan
Apr 3, 2006 3:06 am
Hi Ryan, When you eval a json string, enclose that string in between "(" and ")". So, to correct your example, the json part of the eval statement would be: ...
309
dnc_octopus
Apr 5, 2006 8:09 pm
Hi. I'm trying to use json.parse on server-side javascript under IIS. This gives errors or returns false with "perfectly good" json strings. The process is to...
310
Lindsay
softlog_lindsay
Apr 5, 2006 11:20 pm
... Post some json that fails and you source that calls the parser. -- Lindsay...
311
dnc_octopus
Apr 6, 2006 7:15 pm
... Ok. I build an object like this on the client side just for testing: function fazJSON() { var mObj = new Object; mObj.Time = new Date().getTime(); ...
312
Mark S. Miller
capsecure
Apr 8, 2006 1:08 am
http://java.sys-con.com/read/203935.htm -- Text by me above is hereby placed in the public domain Cheers, --MarkM...
313
Nels Wadycki
nelswadycki
Apr 8, 2006 7:50 pm
Got that one in one of my RSS feeds. It's a good read. Nels ... [Non-text portions of this message have been removed]...
314
Atif Aziz
azizatif
Apr 10, 2006 11:12 am
I have added a JSON text parser, called JsonTextReader, that provides non-cached, forward-only access to JSON data. JsonTextReader [1] can be found in the...
315
Mark Ingalls
marking
Apr 10, 2006 10:32 pm
I don’t see where you are calling fazJSON to stringify the object, but I’ll assume that objJSN is the stringified version of an object. I had to wrap the...
316
Douglas Crockford
douglascrock...
Apr 12, 2006 8:18 pm
JSON is primary a set of encoding rules. A JSON encoder is required to only emit stuff which is strict JSON. The only rule for decoders is that they accept...
317
Rafael Faria
rafaelrfc00
Apr 12, 2006 9:41 pm
Hello, I use to have a lot of application build with ajax, to learn more about JSON and also implement something easier in one of this applications. The BIG...
318
Pavan Kumar Keely
keelypavan
Apr 12, 2006 9:52 pm
Hi, What's the charset ? It seems like you created the file (statis JSON) file with some local charset. Can you send me that static file ? Pavan Keely Rafael...
319
Stefan Gössner
stefangoessner
Apr 13, 2006 11:05 pm
These are interesting news. Microsoft seems to support (de)serializing objects to/from JSON format. http://forums.asp.net/thread/1257092.aspx...
320
dnc_octopus
Apr 14, 2006 11:23 am
Mark, Your assumption is correct. I'll try encodeURIComponent before using parse and see what happens. Thanks for your help! Duarte ... but I'll ... to get ......
321
Douglas Crockford
douglascrock...
Apr 16, 2006 2:06 pm
Fang Yidong has written a simple JSON package for Java. http://www.JSON.org/java/json_simple.zip...
322
christopher.stumm
christopher....
Apr 16, 2006 10:03 pm
when testing the JSON.stringify function, i noticed that it does not seem to behave correctly in safari. The issue is with Objects. It seems to arise from the...
323
Mark Nottingham
mnotting
Apr 17, 2006 8:49 pm
Just curious -- what testing has been done of the various libraries and tools WRT internationalisation? I.e., has it been confirmed that i18n works in JSON,...
324
Michal Migurski
michal_migurski
Apr 17, 2006 9:59 pm
... Well... it assumes Unicode in all strings, if that's what you mean. =) ... michal migurski- contact info and pgp key: sf/ca...
325
Mark Nottingham
mnotting
Apr 18, 2006 5:17 pm
Yep, I saw that; was just wondering what the gap between specification and implementation is... Cheers,...
326
Douglas Crockford
douglascrock...
Apr 18, 2006 7:25 pm
If you should discover a gap in any of the implementations, I hope you will report it. Mind the gap. ... specification and implementation...
327
zackthom
Apr 18, 2006 7:58 pm
Deos JSON Request allow a true POST today? I reviewed your docs, and there is some great information here, but you do not discuss how to do a POST without...
328
Lars Goldschlager
lars_goldsch...
Apr 18, 2006 8:06 pm
Now that this comes up, a question needs to be asked. When Unicode chars are specified, is there an inherent encoding scheme JSON wide? utf-8? utf-16? another...
329
Douglas Crockford
douglascrock...
Apr 18, 2006 10:54 pm
... scheme ... You can use any of UTF-8, UTF-16, or UTF-32. I think UTF-8 is the only thing that makes sense. See...
330
Fang Yidong
fangyidong
Apr 19, 2006 1:38 am
I think UTF-8 is just a transformation format,like GBK and so on. In the 'internal39; of both side (client / server),unicode is encoded in UCS-2 or UCS-4. I...
331
Douglas Crockford
douglascrock...
Apr 19, 2006 1:08 pm
... JSON can be used with languages that use 8-bit chars, 16-bit chars, or 32-bit chars. Applications use Unicode in the most convenient size, which is...
332
Douglas Crockford
douglascrock...
Apr 19, 2006 6:56 pm
It is a shame that Yahoo!Groups isn't implemented in JSON. Look at how the Subject: of this missage got mangled....
333
Fang Yidong
fangyidong
Apr 20, 2006 12:23 am
I'm using the GBK version of Yahoo! mail.I forgot to change 'Re:' in chinese (3 unicode characters) into english.Maybe it's why the subject looks like this. ...