Re: [pre-SRFI] JSON Lassi Kortela 02 Jan 2020 10:46 UTC

> [true, false, [42], false]
>
> Will produce:
>
> (json-structure array-open)
> (json-value #t)
> (json-value #f)
> (json-structure array-open)
> (json-value 42)
> (json-structure array-close)
> (json-value #f)
> (json-structure array-close)

Great! This is a very nice API.

> The problem that I tried to solve, that is really fun, is to not rely
> on the stack to parse any JSON.  That allows the following tests to
> pass:
>
>    n_structure_100000_opening_arrays.json
>
>    i_structure_500_nested_arrays.json
>
> The first with a n prefix, will not segfault (or whatever) and the
> second just works even if it is unspecified.

Thanks for doing thorough work and going through that test suite.