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

An instance for nested tuples? #99

Open
ursi opened this issue Feb 5, 2021 · 0 comments
Open

An instance for nested tuples? #99

ursi opened this issue Feb 5, 2021 · 0 comments

Comments

@ursi
Copy link

ursi commented Feb 5, 2021

I recently figured out how to get nested tuples to encode and decode as JSON arrays
e.g.

1 /\ "hi" /\ [ true ] /\ { a: 0 } -> [ 1, "hi", [ true ], { "a": 0 } ]

I did this for simple-json but I'm pretty sure the approach would work here as well. Unexpectedly to me, the PR was not accepted. In light of that, I figured I'd ask if this would be a welcome addition before I put in the work.

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

No branches or pull requests

1 participant