Method ReadJson
- Namespace
- Bonsai.ML.HiddenMarkovModels
- Assembly
- Bonsai.ML.HiddenMarkovModels.dll
ReadJson(JsonReader, Type, StateParameters, bool, JsonSerializer)
Reads the JSON representation of the object.
public override StateParameters ReadJson(JsonReader reader, Type objectType, StateParameters existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
readerJsonReaderThe Newtonsoft.Json.JsonReader to read from.
objectTypeTypeType of the object.
existingValueStateParametersThe existing value of object being read. If there is no existing value then
nullwill be used.hasExistingValueboolThe existing value has a value.
serializerJsonSerializerThe calling serializer.
Returns
- StateParameters
The object value.