... So? We're talking about JSON, not XML. Finding an example for which you disagree with the existing categorisation isn't much of a reason to not follow the...
29
jonschull5
Aug 1, 2005 7:43 pm
Hi, Shouldn't it be possible to jsonize a string like this? {"doubleQuoteSurroundedBySpaces":" \" "}}' json.py and json.js both choke when trying to parse...
30
Mark Miller
capsecure
Aug 1, 2005 9:04 pm
... Assuming your closing ")'" is an error, E's embedded term-tree language (<http://www.erights.org/data/terml/index.html>) accepts this just fine: ?...
31
Jon Schull
jonschull5
Aug 1, 2005 9:27 pm
Thanks for the speedy and extensive reply Yes, my closing ")" was an error I'm something of an E-gnoramus, so I will ask before attempting to understand your...
32
Mark Miller
capsecure
Aug 1, 2005 10:23 pm
... Unfortunately no. Currently, E runs only on the JVM. There are ports of E onto Common Lisp and Squeak in progress, but neither is ready yet. Porting E onto...
33
jonschull5
Aug 3, 2005 4:05 am
I don't understand why this isn't considered a serious flaw in JSON... For any object o, it should be true that json.read( json.write(o) ) == o But this is not...
34
jonschull5
Aug 3, 2005 4:28 am
P.S. I've determined that Crockford's javascript parser does not have this problem (which I found in patrick logan's json.py). With javascript, o2= son.parse(...
35
Martin Cooper
mfncooper
Aug 3, 2005 4:35 am
... I'm not sure which implementation you're referring to, since JSON is just a spec, but I'm surprised the above even parses as valid JSON. Strings in JSON...
36
Jon Schull
jonschull5
Aug 3, 2005 4:48 am
Ok, I should have said "a serious flaw in the json.py library" And it turns out to be a problem in the two python libraries I've looked at ...
37
Michal Migurski
michal_migurski
Aug 3, 2005 4:55 am
... The json.py library definitely has some problems. I've found a few flaws in the way it encodes strings, which I've sent back to Patrick as patches. I'm...
38
Mark Miller
capsecure
Aug 3, 2005 6:24 am
... In E, this gives a syntax error as it should: ? term`{'a39;:' " '}` # syntax error: # {'a':' " '} # ^ -- Text by me above is hereby placed in...
39
jemptymethod
Aug 3, 2005 11:07 am
Since it's Python, an option might be to access Mr Crockford's Java implementation of JSON, via Jython....
40
Patrick D. Logan
patrickdlogan
Aug 3, 2005 4:18 pm
The following test works in my sandbox for json-py. I think it works in the release but I actually cannot get to sourceforge at the moment... Try adding this...
41
Patrick D. Logan
patrickdlogan
Aug 3, 2005 4:20 pm
oops. Editing error from the Python interpreter. The resulting json representation should look something like... {"a":" \" "} -Patrick [Non-text portions of...
42
jake_s_lim
Aug 4, 2005 4:40 am
Guys, If anyone interested in JSON-RPC, feel free to take a look at JRP. It's a JSON-RPC implementation I recently started. JRP stands for JSON-RPC Page, and...
43
patrickdlogan
Aug 6, 2005 4:50 pm
I've released fixes to the sourceforge project https://sourceforge.net/projects/json-py/ Also included in the release is Jim Washington39;s minjson.py There are...
44
jonschull5
Aug 6, 2005 10:58 pm
Just thought I'd put it on record that both Patrick Logan and Neil Schemenauer promptly fixed and updated their python json libraries. Logan:...
45
Dale
code_ronin
Aug 7, 2005 2:00 pm
Anyone using JSON as a replacement for XML in an AJAX-like project? A couple of years ago I used dynamic <script> elements to communicate asynchronously with...
46
F. Randall Farmer
frandallfarmer
Aug 7, 2005 2:35 pm
I just got a sneak peek at Kiko.com (currently in pre-alpha, so you can't access their site.) They are developing a great AJAJ application. It was interesting...
47
Michal Migurski
michal_migurski
Aug 7, 2005 4:59 pm
... I am - it's so much nicer to use than XML. I've used "AJAJ" for a few client projects, and now I'm experimenting with JSON-RPC for a Free feed reading...
48
Dale
code_ronin
Aug 8, 2005 12:22 am
... Flash _used_ to have a simplified method of passing variables. (Not saying that it still doesn't; just that I am not sure.) And it did not require eval. ...
49
George
georgenava
Aug 8, 2005 2:16 am
No need to rename it, as I have always said, AJAX goes for Async JSON And XUL http://www.georgenava.com/applauncher.php pure JSON and XUL, nothing else......
50
jemptymethod
Aug 8, 2005 5:02 pm
... JSON ... George, you ought to contribute your alternative meaning for the AJAX acronym to the wikipedia's entry for the same ;)...
51
Dale
code_ronin
Aug 9, 2005 1:04 pm
... Unless someone has finally written the XUL HTC for IE or an XSLT for XUL for non-Gecko browsers, XUL is too non-standard and niche for my needs. ...
52
patrickdlogan
Aug 10, 2005 4:29 am
The spec reads... "A string is a collection of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented ...
53
patrickdlogan
Aug 10, 2005 4:46 am
Dang. It finally hit me that scientific notation has been added to the spec for numbers. I think this is a good idea except now I need to implement it. Oh...
54
Martin Cooper
mfncooper
Aug 10, 2005 5:20 am
... Huh, so it has. When did that happen? Time to update my code as well... -- Martin Cooper...
55
Douglas Crockford
douglascrock...
Aug 11, 2005 4:49 am
... The \uXXXX notation must be used for control characters that do not have a shorter escape convention. This is the only case where \uXXXX notation is...
56
Mark Miller
capsecure
Aug 11, 2005 10:08 am
... As long as we're on this topic, what about Unicode characters that don't fit into 16 bits -- the co-called "supplementary characters"? ...
57
Roland H. Alden
rolandalden
Aug 11, 2005 2:11 pm
... don't ... I think you mean "surrogate" characters; characters that require two 16 bit code points appearing "sequentially"? If JSON isn't processing text...