Due to a bug in JSON.NET, custom converters will not be used when deserializing a root object with a $type parameter and the object type is unknown. Opened a JSON.NET Pull Request. If PR is not merged, alternative is to create a strongly typed SnapshotState wrapper object to serialize/deserialize state.
Due to a bug in JSON.NET, custom converters will not be used when deserializing a root object with a $type parameter and the object type is unknown. Opened a JSON.NET Pull Request. If PR is not merged, alternative is to create a strongly typed
SnapshotState
wrapper object to serialize/deserialize state.