chickadee » cjson » string->json

string->json stringprocedure

Make scheme data-structures of the json data in string using [cjson]:

    
(define (string->json str)
  (let* ((j (string->cjson* str))
         (s (cjson-schemify j)))
    (cjson-free j)
    s))

For string inputs, this should be API-equivalent of medea's (read-json).