Dear all, I just came across JSON and JSON-RPC last week: I like the idea a lot, especially given the ease of implementation. So I downloaded the python...
Hi, thanks for the patch I should have mentioned on my page that I wrote the python impl. to test the protocoll and have not really worked on it much further ...
[Jan-Klaas Kollhof] ... [Alan Kennedy] ... [Jan-Klaas Kollhof] ... Point taken: you're right: the tokenizer will not permit such DOS attacks through, and eval...
Sorry, the whitespace in that code snippet got mangled by YahooGroups. Here it is again, with '.'s instead of spaces, so you'll have to replace '.'s with...
... I am convinced ! ... But it is possible though to create a {"Ä": 12345} in python {"\x8e":12345}, not? The "Ä" is not ASCII. ... simple browser-based...
Hi Folks, Any Debian KDE users out there? The Konqueror/KHTML XMLHttpRequest bug fix has just made it into Debian Sid. If you do an: apt-get update apt-get...
[Alan Kennedy] ... [Jan-Klaas Kollhof] ... Well, yes, you can use non-ascii keys in dictionaries. Since object attributes are stored in a dictionary, you can...
... syntax error. But for JSON you want to use dictionaries not objects. And these dictionaries may contain keys with non-ascci code. On the http://json.org...
... There is no distinction between objects and dictionaries in JavaScript. They are plain objects according to ECMA-262 (ECMAScript 3rd Edition) There is just...
Neither the JSON nor the JSON-RPC specs say how data exchanged between the client and the server are to be encoded. I think messages should be encoded in...
... I agree with that and think it should go in the spec. Although in practice, due to XMLHttpRequest quirks in some browsers (with respect to problems with...
... Although UTF-16 is specified as the (internal) "representation" used by conforming ECMAScript engines I don't think it is completely relevant to the...
I have a few ideas for the protocol I'd like to share/discuss. 1. Multiple requests/responses The specs say that they are sent one after another. {...} {...} ...
... Yes, the eval is no more eval than the fact that you loaded the initial JavaScript from the same server in the first place. So this is not really an issue,...
Hello Michael, ... over HTTP and JSON-RPC over sockets. The requirements seem to be slightly different. Not realy, here an example of bidirectional multicall...
Lately,I use the JSON-RPC-Java to communicate between the client-side and the server-side in my project. I know,the principle of this RPC protocol is : the...
Unless you can open a socket connection from the client to the server which stays open, there is no way for the server to push the data as it is generated. You...
Hi All, I am using JSON, and have a need to manipulate the "anonymous" javascript object that is brokered back from JSON on the client. I want to use strongly...
I think there is a problem with the implementation in json.py (pyjsonrpc). Consider the following unittest case... def testWriteStringValue(self): s =...
I did not expect the following behavior using json.py... ... 2 ... 2 The first expression is fine, the input is the JSON number, 2. The second input is not...
I'm looking around for examples of a json-rpc code, but I haven't seen many code examples (php) since the spec is still being settled on(?). I have an active...
Hi All, ... I had some problems with posting the project to sourceforge and I do not have time to continue this. I have almost production version of the...
Hi ... Well, kindof being discussed if people like to discuss it. I have not been doing much on json-rpc lately as I am relocating to London... big move, no...
... Not sure where your from, but enjoy the city. I'm orginally from north of Manchester, but grew up and live over in the states now, north of boston. ... ...
Hi, ... I didn't have a change to post my library online. But I can send it with private letter. I just sent it to 2 guys who were interested in it. Regards, ...
Hi all, I'm just writing the test suite for jyson, my new pure-java implementation of JSON for jython 2.1, and decided to read up on javascript syntax to check...