[cl-json-devel] Encoding DOUBLE-FLOAT

Boris Smilga boris.smilga at gmail.com
Wed Jun 22 09:03:20 UTC 2011


On Wed, Jun 22, 2011 at 8:23 AM, Daniel Brunner <daniel at dbrunner.de> wrote:

> I get some numbers (DOUBLE-FLOAT) from CLSQL, e.g.
>
> 0.0570714084012434D0
>
> If I encode this to JSON I get a "0.0570714084012434D0" but it seems
> that the notation with "D" is not valid JSON because when I try to
> decode this string say from R with rjson I get an error.

This is very strange. I get:

(json:encode-json-to-string 0.0570714084012434D0)
⇒ "0.0570714084012434"

How exactly do you get your output with D?

Yours,
 - B. Sm.




More information about the cl-json-devel mailing list