Is it posible to compress JSON files, gzip or something else? Am using JSON-PHP to send JSON files to my AJAJ javascript front end. When I turn on GZIP...
... Not that I've tried compressing JSON, or have any experience with either PHP or JSON-PHP but I'm sure it's possible. As a fact, I will eat my hat if your...
I am sure this has nothing to do with the actual JSON files, but I am sending the files to the browser in gzip form and they should automagiacally decompress,...
The communication itself should be doing the compression and undoing before it gets anywhere near the js. Is this what you are doing? Or are you sending a...
... I think you have to set the proper value of the http response content-type, to a value like text/gzip or text/zip. It sort of depends on the browser if I...
287
Tom Metro
tmetro+json@...
Mar 7, 2006 9:25 pm
... Yes, though it looks like Content-Type is unchanged, but a Content-Encoding header needs to be added. Here are a couple of articles on this that I found...
I finally got it working. The headers were being added correctly but the encoding was not. I switched methods of compression and it works perfectly. The...
I am proposing a new mechanism for doing data transport in Ajax/Comet applications. It is called JSONRequest. It is a minimal communications facility that can...
... Two comments, based on a quick initial read: 1) The timeout feels unnecessary, and potentially a hassle for debugging purposes. It should be left to lower...
Hi all, am using JSON RPC for my PHP web app - thats been working brilliantly. One oversight in the spec is that there appears to be no way of specifying...
Sounds really very interesting. 1. Is there a test implementation to play with? 2. What is the motivation behind the limitations of data size and nesting...
... I don't think this can be resolved in the spec - it would require a way to reference object in JSON, and some concept of object equivalence between the...
... I was just adding a extra attribute (object) to the RPC object, e.g. { "object": "S12", "method": "echo", "params": ["Hello JSON-RPC"], "id": 1} The object...
Hi all, Sorry to come late to the party on this. With regard to what to call the json technology, what about aeon (asynchronous ecmascript object notation). It...
... Not yet, but I hope to make some announcements soon. ... It should go somewhere. I think there should be some limit other than "whatever you can imagine"....
The JSONRequest does only one thing: It exchanges data between scripts on pages with JSON servers in the web. It provides this highly valuable service while...
JSON Newbie question: Given the following string: { "parent": { "child": "Hello92;!" } } And asking a JSON parser to parse it, what is the expected behavior? ...
... The \! is not strictly JSON, so a parser is free to do what it wants with it. Some reasonable options would be treat it as ! treat it as \\! treat it as a...
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:...
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 ...
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 ||...
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...
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: ...
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...
... 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(); ...