Replies: 1 comment 1 reply
-
I think this would work out fine when working with, say, serde, because it would generate errors if it doesn't get the general structure that it expects to be deserializing? Much like serde_json supports weird stuff like "string OR object" in values? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder what is the possible real-world use of mixed value types like:
I'm not sure yet but wouldn't it be a pain to deserialize this in languages where an array of values can only have one type?
Beta Was this translation helpful? Give feedback.
All reactions