chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] [announce] JSON egg version 2.0


From: John Cowan
Subject: Re: [Chicken-users] [announce] JSON egg version 2.0
Date: Wed, 14 Feb 2007 21:18:03 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

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
best way around it is, or if I need to change my underlying approach.

-- 
John Cowan  <address@hidden>  http://ccil.org/~cowan
Micropayment advocates mistakenly believe that efficient allocation of
resources is the purpose of markets.  Efficiency is a byproduct of market
systems, not their goal.  The reasons markets work are not because users
have embraced efficiency but because markets are the best place to allow
users to maximize their preferences, and very often their preferences are
not for conservation of cheap resources.  --Clay Shirkey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]