Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(schemepunk json) representations #3

Open
johnwcowan opened this issue Aug 3, 2022 · 0 comments
Open

(schemepunk json) representations #3

johnwcowan opened this issue Aug 3, 2022 · 0 comments

Comments

@johnwcowan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant