Hello schemers!
You can find the code and early draft specification at
https://github.com/amirouche/SRFI-JSON
In particular, I am wondering if I should rely on generators, instead
of a callback in the spirit of for-each.
The stream parser is not coded yet.
I would prefer to provide a JSON stream parser instead of exposing
somehow some thing that will allow to customize how JSON arrays and
JSON objects are translated into Scheme (possibly records) that will
enable to build more features on top of the SRFI.
Can you recommend an existing JSON parser that work with streams of
event ala SAX?
You will find attached to this email the currently passing / failing
tests. Many utf8 related tests that are not specified are skipped and
do not appear in the listing. Those tests are based on
https://github.com/nst/JSONTestSuite/
Lassi did a very great job with SRFI-175. Many thanks! I hope to
make this SRFI as portable as possible.
Also see https://github.com/lassik/pre-srfi/blob/master/json.adoc
Cheers and happy new year!
--
Amirouche ~ https://hyper.dev