-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to create objectN because Field.encode is not exported #13
Comments
Oops, indeed. Thank you. I’m thinking about a way to implement |
Can’t find an elegant idea to suggest how a user can make an arbitrary I’ve done a simple code generator that can generate @Minnozz, out of curiosity, what JSON do you have so that |
Thanks for looking into this! I have a data structure that would need Does Jzon currently have an easy way to write a custom codec for such a large object? |
I have no idea how to do this, keep 100% type safety, and avoid boilerplate at the same time. Waiting for an “aha-moment” :) If only ReScript had named tuples like in Python... destructors and constructors might be trivial identity functions. |
Just released Jzon 1.3.0 with |
The docs say:
However, it seems like it is not possible to implement
object16
and further myself becauseField.encode
is not exported.The text was updated successfully, but these errors were encountered: