rudolph-miller / jonathan

JSON encoder and decoder.
http://rudolph-miller.github.io/jonathan/overview.html
164 stars 24 forks source link

Provide a function like COMPILE-ENCODE #70

Open phmarek opened 2 years ago

phmarek commented 2 years ago

I've got a use-case where during runtime some data is read from disk; later on a JSON with lots of constant data and some variables will be queried.

COMPILE-ENCODE as a macro that parses LIST etc. by hand makes that harder to do than necessary; I can't provide it with forms like (LET ((#:gensym1 (....))) ...), perhaps some escaping/unescaping mechanism like with CL-WHO might be a good idea?