Hi all, Just a quick post. Jswoof tiny has also been updated to support [JSWEXT] jswoof extensions http://www.waynemike.co.uk/jswoof you can also follow jswoof...
1457
sean_snider
Feb 9, 2010 6:34 pm
When creating a JSON structure, is there a standard way that is used to determine that some member should be an Array vs Not? For someone building a service,...
1458
John Cowan
johnwcowan
Feb 9, 2010 7:05 pm
... I don't know that there is. My take on it is: if something *can* appear multiple times, it should always be an array. If it cannot, it should never be an...
1460
soren.hilmer
Feb 15, 2010 7:09 am
Hi Just ran into this issue with json2 (http://www.json.org/json2.js). In the environment where I'm developing the situation is that plain Objects does not...
1461
Dennis Gearon
gearond...
Feb 15, 2010 4:22 pm
what's json2? Dennis Gearon Signature Warning ... EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at...
1462
Andrea Giammarchi
an_red...
Feb 15, 2010 4:42 pm
Weird environment, I would trust more native implementations or json2.js itself nullifying the method. Array.prototype.toJSON = null; Could it be an acceptable...
1463
soren.hilmer
Feb 16, 2010 12:29 pm
json2 is (http://www.json.org/json2.js). --Søren...
1464
soren.hilmer
Feb 16, 2010 12:32 pm
Maybe. But I'm not looking for a workaround. I'm trying to push a bug fix towards json2.js This group seams to be the main communication entrypoint to ...
1465
Erik Arvidsson
e_o_n_i_c_s
Feb 16, 2010 5:16 pm
... spec = ECMA 262 edition 5, http://www.ecma-international.org/publications/standards/Ecma-262.htm ... -- erik [Non-text portions of this message have been...
1466
Erik Arvidsson
e_o_n_i_c_s
Feb 16, 2010 5:17 pm
toJSON is supposed to return the object to serialize. See step 2 in the abstract operation Str(key, holder) (page 204, section 15.12.3) in the spec. Your...
1467
Douglas Crockford
douglascrock...
Feb 19, 2010 6:09 pm
There is a book available from Amazon and other sources titled JSON: Computer, Human-readable medium, Data structure, Associative array, Douglas Crockford,...
1468
Jorge Chamorro
george_of_th...
Feb 19, 2010 6:35 pm
... [ "LOL", "Sheesh!" ] -- Jorge....
1469
ricjohnsoniii
Feb 22, 2010 7:59 pm
I would be willing to sponsor a book on json, if anyone is interested. The only caveat is that it must be published Open Source (akin to the Couch DB book) I...
1470
Wayne
wain_mike
Feb 24, 2010 11:39 pm
Jswoof v1.01 has been released for C#. This build takes care a few tiny bugs that were lingering in the parseNumber function. As usual you can get jswoof from...
1471
Arthur Blake
blakesys
Feb 25, 2010 9:13 pm
Just saw this come across my automatic updates: http://support.microsoft.com/kb/976662 <http://support.microsoft.com/kb/976662>Perhaps Microsoft has fixed the ...
1472
Dennis Gearon
gearond...
Feb 26, 2010 5:25 am
Wonder about escaping characters using a JSON API. JSON isn't JUST for browsers obviously, (moblie apps or direct B2B) would be the starting list for other...
1473
Jacob Davies
jacobwellcom
Feb 27, 2010 12:34 am
I have a question regarding the use of URL fragments (the part after the # (hash) character in a standard URL) for navigating JSON resources. So far as I can...
1474
Viktor Bresan
viktorbresan
Feb 27, 2010 1:13 am
Hi to all. I've detected some awkward behavior in org.json library and the best would be that someone convinces me that I am missing something obvious. :-) 1)...
1475
Fredag_d13
Feb 27, 2010 10:26 am
Hi Jacob I have implemented a way to navigate in a JSON object in my PLSQL JSON implementation. It's basically a subset of how you navigate within Javascript...
1476
Jacob Davies
jacobwellcom
Feb 27, 2010 5:35 pm
Thanks for the pointer to the discussion, that's what I was looking for. I guess I should also join the restful-json list. I don't think this is the end of the...
1477
Jacob Davies
jacobwellcom
Feb 28, 2010 12:24 am
One more note - I was looking at the section on normalization again: http://tools.ietf.org/html/rfc3986#section-6.2.2 and this paragraph stood out: "The...
1478
Kris Zyp
kriszyp
Feb 28, 2010 8:26 pm
[+restful-json] Jacob, You may already be aware of this, but a specification for the dot-delimited hash/fragment resolution mechanism is in the JSON Schema I-D...
1479
farkmischer
Mar 8, 2010 6:44 pm
I am trying to figure out how to send an image from my hard drive to Tuzulo using their api which appears to use JSON (quoted below). I have figured out how...
1480
Michael Schøler
michael.scholer
Mar 8, 2010 9:29 pm
Hi, The only thing that pops to my mind is base64 encoding. JSON is not a suited container for binary data (see <http://www.json.org/> http://www.json.org/ ...
1481
Fredag_d13
Mar 8, 2010 9:33 pm
To store binary data in a json string, you could use base64 or something similar. However it is more likely, that you should just post your binary data to the...
1482
Mark Joseph
markjoseph_sc
Mar 9, 2010 2:18 am
Or you could use another encoding that was designed to handle binary data, and that is ASN.1 with BER or DER encoding. Best, Mark Joseph, Ph.D. President P6R,...
1483
Jacob Davies
jacobwellcom
Mar 9, 2010 2:48 am
It's going to depend on the API, though I assume that most sites are going to want you to send the data via the multipart/form-data encoding that is used for...
1484
Dennis Gearon
gearond...
Mar 9, 2010 3:49 am
I personally set my API up using 'out of band' uploading. Direct POSTing of the image (multipart encoding), and then put the url of the image resource in the...
1485
Tatu Saloranta
cowtowncoder
Mar 9, 2010 7:04 am
... This really depends on implementation: at least fast java encoders can do with about same overhead as space expansion causes (33%). While higher relative...
1486
Jorge Chamorro
george_of_th...
Mar 9, 2010 10:20 am
... The browser can upload a local file to a server via a form through a POST, but your page's javascript code can't touch nor read a local file at all, at...