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
The discriminator allows you to tell the serializer: "Hey, when you see 'this' value in the serialized data, use 'that' class to deserialize it into." You can use a discriminator with both xml and json.
Hi @schmittjoh,
About the Discriminator, it seems the km field as described in the doc is not mandatory. what is this field ?
Is it possible tu use an attribute for the type field instead a value inside the XML tag ?
Thanks !
The text was updated successfully, but these errors were encountered: