Hi, how to translated a linked to a JSON map using some fn like cheshire.core/generate-string, or build a linked from JSON map string using some fn like cheshire.core/parse-string? or maybe implement methods toJSON/fromJSON?
for example:
(linked-to-JSON (linked/map :b 2)) ; => "{\"b\": 2}"
(linked-from-JSON "{\"b\": 2}") ; => (linked/map :b 2)
(linked-to-JSON (linked/set 1 2)) ; => "[1, 2]"
(linked-from-JSON "[1, 2]") ; => (linked/set 1 2)
Thanks!
Hi, how to translated a linked to a JSON map using some fn like cheshire.core/generate-string, or build a linked from JSON map string using some fn like cheshire.core/parse-string? or maybe implement methods toJSON/fromJSON?
for example:
Thanks!