cl-json icon indicating copy to clipboard operation
cl-json copied to clipboard

Json encoder and decoder for Common-Lisp

Results 25 cl-json issues
Sort by recently updated
recently updated
newest added

If you would like to drop maintaining this, we have made a fork in sharplispers/cl-json If so, you could transfer the issues to the sharplispers repo and then archive your...

Add a GitHub action that will build CL-JSON on multiple lisp implementations and run the tests.

``` JSON> "{\"hello-world\" : 888}" "{\"hello-world\" : 888}" JSON> (decode-json-from-string *) ((:HELLO-WORLD . 888)) JSON> (encode-json-to-string *) "{\"helloWorld\":888}" ``` "hello-world" becomes "helloWorld" after serialization through CL-JSON

Example: ``` (json:encode-json-to-string (json:decode-json-from-string "{\"items\": [1,2,3]}")) "[[\"items\",1,2,3]]" ``` I would have expected that the output would have matched the input, rather than a vector of a vector. The issue though...

The following code: ` (json:decode-json-from-string nil)` gives an error: ``` The value NIL is not of type STRING when binding STRING ``` when it should return `NIL`

Decoding JSON to fluid objects appears to not work in recent versions of SBCL. For example, the following works fine in SBCL 1.1.0 on Linux (Ubuntu 14.04.3): ``` * (format...

This PR corrects handling of unicode characters not in the basic multilingual plane. The JSON spec requires these to be split into surrogate pairs.