I see that using JSON.Net, I can decode polymorphic objects if a $type
attribute specifies the specific type of the JSON object. In all the examples I\'ve seen,
Create a derived SerializationBinder
in which override BindToName
and Set out string assemblyName
to null (Edit: or your default assembly name) and out string typeName
to your striped type name
Set the binder to the JsonSerializerSettings.Binder
before serialisation.
Let me know if this is not working