-
Notifications
You must be signed in to change notification settings - Fork 52
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
Errors deserialising structs without fields #270
Comments
Ah, part of the issue here is that StructTypes now has a new struct type |
What's the motivation behind the singleton type? |
It helps in other (non-JSON) serialization use-cases and for JSON, provides a more descriptive serialization form (instead of just the default empty object output |
I am not sure which one is more intuitive and should be the default behavior. Do you think better documentation about this should go into JSON3 or StructTypes? |
I have a wrapper type which might contains empty object which might be omitted.
The text was updated successfully, but these errors were encountered: