... A few comments: 1. Is there any reason you're specifying characters in two different styles? For example, in 2.0 you've got: <begin-object> = %x7B...
232
Douglas Crockford
douglascrock...
Jan 22, 2006 12:48 am
... There was an n**2 problem with the regexp. The latest version of json.js should be much happier with large texts....
233
Douglas Crockford
douglascrock...
Jan 24, 2006 6:24 pm
Erlang has joined the list of programming languages with JSON support. See http://www.erlang-projects.org/Public/news/ejson/view...
234
mhyk14
Jan 28, 2006 2:46 am
Hi, I'm trying out JSON and I find it really easy to produce and manipulate. But I have some concerns regarding FireFox's Javascript Console. I'm using 1.5...
235
Martin Cooper
mfncooper
Jan 28, 2006 5:01 am
... Well there seems to be a funky '^' after the array, which wouldn't be valid if it's part of what you're sending back. -- Martin Cooper I also get errors...
236
Gordon Mohr (@ Bitzi)
gojomo
Jan 28, 2006 5:49 am
... There's also the strange "&q uot;", though perhaps that's an artifact of something else. - Gordon...
237
mhyk14
Jan 28, 2006 7:26 am
Thanks for the replies. Here's another error message from FireFox's Javascript Console: Error: syntax error Source File:...
238
Michal Migurski
michal_migurski
Jan 28, 2006 3:46 pm
... The JSON string looks fine. Could it be that you are just evaluating it directly in the browser, without adding any context such as "var foo = [...];" ? ...
239
Mike D
mhyk14
Jan 28, 2006 4:10 pm
well, here's the line that grabs the json string: var jsonObj = JSON.parse(http.responseText); fyi: Im using the JSON Parser from json.org Do you think I/we...
240
Jim Washington
jimcburg
Jan 28, 2006 4:35 pm
... What content-type are you sending with your JSON? Is there a charset involved? I've found that similar "I can't parse this" issues are sometimes resolved...
241
Mike D
mhyk14
Jan 29, 2006 12:49 am
lol I give up. I tried using several charsets along with text/plain, text/javascript, application/x-javascript, application/javascript and...
242
Atif Aziz
azizatif
Feb 1, 2006 7:32 pm
JSON is limited to a few primitive types that serve quite well when it's enough to communicate all type information via documentation. For example, a date is...
243
Michal Migurski
michal_migurski
Feb 1, 2006 8:11 pm
... JSON-RPC defines a pattern called class hinting, see section 3 of http://json-rpc.org/specs.xhtml. It's close... sort of. ... michal migurski- contact info...
244
Atif Aziz
azizatif
Feb 1, 2006 10:44 pm
I guess I should have mentioned that I was aware of class hinting from JSON-RPC. Although fine in principle, I find the method slightly intrusive, verbose and...
245
Stefan Gössner
stefangoessner
Feb 2, 2006 11:36 pm
Hello group, greetings from Dortmund, Germany. I am using JSON for a while now, mainly for sending data from my web server to the client. I like it a lot more...
246
Douglas Crockford
douglascrock...
Feb 3, 2006 2:01 am
Thank you everyone on your comments on the Internet Draft. I am preparing a revision. I have encorporated most of your suggestions. The current state can be...
247
Douglas Crockford
douglascrock...
Feb 3, 2006 2:04 am
... I think this is very cool....
248
Blake Seely
blakeseely_99
Feb 4, 2006 5:27 pm
Hi all, The language description at http://www.crockford.com/JSON/ says that "\/" is a valid escape sequence. The examples on Yahoo's page here: ...
249
Douglas Crockford
douglascrock...
Feb 4, 2006 10:37 pm
... "\/" is a valid escape sequence. However, it is not required that / be escaped. You may escape it if you need to. The reason JSON explicitly allows...
250
Blake Seely
blakeseely_99
Feb 5, 2006 12:08 am
Excellent. Thanks for the info Douglas. ... [Non-text portions of this message have been removed]...
251
Blake Seely
blakeseely_99
Feb 7, 2006 6:28 am
All, If you're using JSON along with Cocoa on Mac OS X, I created two categories on NSDictionary that may be useful: +[NSDictionary dictionaryWithJSONString:]...
252
Douglas Crockford
douglascrock...
Feb 10, 2006 4:07 pm
The Internet Draft http://www.ietf.org/internet-drafts/draft-crockford-jsonorg-json-03.txt is currently being reviewed. Based on the comments so far, I think ...
253
Henrik Hjelte
jagarenbrape...
Feb 10, 2006 6:12 pm
I have recently added Common Lisp to the list of languages with JSON parsers and generators. http://common-lisp.net/project/cl-json/ Thanks, Henrik Hjelte...
254
diccsy
Feb 11, 2006 10:52 am
Hi All, I need help. Sorry, my english is wrong. I have an XML file : <CrossPromotion> <ItemID>4504618045</ItemID> ...
255
Douglas Crockford
douglascrock...
Feb 11, 2006 12:22 pm
... This is one possible way: { "CrossPromotion": { "ItemID": 4504618045, "PrimaryScheme": "StoreToStoreCat", "PromotionMethod": "UpSell", "SellerID":...
256
diccsy diccsy
diccsy
Feb 11, 2006 12:31 pm
Hi, ok i understand thet output, but how can i make this? JSON have a function, which receive one XMLReader object and result is an JSON object? ... This is...
257
Douglas Crockford
douglascrock...
Feb 16, 2006 5:43 pm
Jesse James Garrett gave an old idea, dynamic update as an alternative to page replacement in web applications, a new name: Ajax (Asynchronous JavaScript +...
258
Martin Cooper
mfncooper
Feb 16, 2006 5:59 pm
... Except that now you have to explain that it's AJAX (an acronym) versus Aja (not an acronym). And if it was AJA, it would be "Asynchronous JavaScript And",...
259
MPCM
mpcmtechnolo...
Feb 16, 2006 7:26 pm
I'm still saying javascript and use a broader term of interactive. The ajax moniker bothers me too much, I'm glad everyone else knows about these ...
260
peter seliger
pjseliger
Feb 17, 2006 10:03 am
hi all, ... how about DHTTP as analogon to DHTML - "Dynamic HTTP" since we do script the clients http(request)-interface. if the interchange-format will be...