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

JsonBuilder or constructing JSON from code #4

Closed
planetis-m opened this issue Dec 11, 2021 · 1 comment
Closed

JsonBuilder or constructing JSON from code #4

planetis-m opened this issue Dec 11, 2021 · 1 comment

Comments

@planetis-m
Copy link
Owner

planetis-m commented Dec 11, 2021

According to Araq's comment:

The JsonBuilder exists to keep a seq of PatchPos so that you can do more easily: beginArray/endArray and beginObject/endObject.

The goal is to be able to support a macro like the original %* from std/json:

var jsTree = %*{"name": "Isaac", "books": ["Robot Dreams"]}

The details need to be worked out...

@planetis-m
Copy link
Owner Author

This is done

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