You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to not have to adjust the serialized yaml (by adding tags) to have the deserializer capable of distinguishing types based on what key names or value types were provided.
Or can this be done by INodeTypeResolver? I have not found a good example that doesn't use tags.
Example of how JSON.Net handles this type of problem:
It would be nice to not have to adjust the serialized yaml (by adding tags) to have the deserializer capable of distinguishing types based on what key names or value types were provided.
Or can this be done by
INodeTypeResolver
? I have not found a good example that doesn't use tags.Example of how JSON.Net handles this type of problem:
http://stackoverflow.com/questions/11099466/using-a-custom-type-discriminator-to-tell-json-net-which-type-of-a-class-hierarc
The text was updated successfully, but these errors were encountered: