0

If I know my string is one of many "known" object types can I deserialized it, without deserializing it multiple times, trying each known type and catching the error and then trying another until I find the matching type?

Is creating a schema based on each object type and then trying to validate the schema any better of an idea? It almost seems worse.

5

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.