I suggest the following internal representations for read-json and write-json: Represent JSON true and false with Scheme true and false (i.e. #t and #f) rather than with symbols.
I also suggest the following single-valued internal representations for events: null, boolean value, numeric value, string value, array-start, array-end, object-start, object-end. Keys are represented as strings and are identified as such by their positions. An alternative representation scheme is #\-, boolean value, numeric value, string value, #\[, #\], #\{, #\}; keys are represented as symbols.
I suggest the following internal representations for
read-jsonandwrite-json: Represent JSON true and false with Scheme true and false (i.e.#tand#f) rather than with symbols.I also suggest the following single-valued internal representations for events:
null, boolean value, numeric value, string value,array-start,array-end,object-start,object-end. Keys are represented as strings and are identified as such by their positions. An alternative representation scheme is#\-, boolean value, numeric value, string value,#\[,#\],#\{,#\}; keys are represented as symbols.