Daishi Kato scripsit:
Here is an example that breaks inconsistency.
I don't think I'm happy with this.
#;18 (with-output-to-string (lambda () (json-write
(with-input-from-string [[\a\,1,2]] json-read
{\a\ : [1, 2]}
That's definitely a bug. I need to think about it to see what the
Hi, sorry for the delay.
Here is an example that breaks inconsistency.
I don't think I'm happy with this.
#;18 (with-output-to-string (lambda () (json-write
(with-input-from-string [[\a\,1,2]] json-read
{\a\ : [1, 2]}
Daishi
On 2/10/07, John Cowan [EMAIL PROTECTED] wrote:
Daishi Kato
I have just completed a major rewrite of Tony Garnock-Jones's JSON egg.
It's temporarily available at http://www.ccil.org/temp/json.egg .
The JSON parser is untouched; however, the JSON generator has been
completely redesigned. Here are the new features:
1) A Scheme object is completely
2) An a-list (list of pairs) will be written as a JSON object (structure).
Likewise, a vector containing writable objects rather than pairs will
be written as a JSON list. (However, an empty Scheme list is written as
a JSON list, whereas an empty Scheme vector is written as a JSON object.)
So,