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

feat(builtins): json.obj_pairs, json.puts_pairs to build JSON objects from array of pairs #1434

Merged
merged 11 commits into from
Feb 2, 2023

Conversation

folex
Copy link
Member

@folex folex commented Jan 27, 2023

json.obj and json.puts are basically varargs, which gives flexibility, but is impossible to express in well-typed Aqua.

json.obj allows to build JSON object from an array of (string, json) pairs.

Copy link
Member

@justprosh justprosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but it will be nice to have these new methods called at least once in the tests

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

Successfully merging this pull request may close these issues.

None yet

3 participants