Class NormalLayer.JsonConverter
public class NormalLayer.JsonConverter : JsonConversion.JsonConverter<NormalLayer, JsonData.Object>
- Inheritance
-
NormalLayer.JsonConverter
- Inherited Members
Constructors
JsonConverter(SemanticVersion)
public JsonConverter(SemanticVersion fromJsonFileFormatVersion)
Parameters
fromJsonFileFormatVersion
SemanticVersion
Methods
FromJson(Object)
Attempts to convert the JSON data into a C# object of the given type.
NOTE: JsonConverter has a default implementation for an overload FromJson(JsonData jsonData) that ensures it is of type JsonDataType before calling the specific overload FromJSON(JsonDataType jsonData).
public override NormalLayer FromJson(JsonData.Object jsonData)
Parameters
Returns
ToJson(NormalLayer)
Attempts to convert the C# object into JSON data.
public override JsonData.Object ToJson(NormalLayer layer)
Parameters
layer
NormalLayer