Class File.JsonConverter
public class File.JsonConverter : JsonConversion.JsonConverter<File, JsonData.Object>
- Inheritance
-
File.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 File FromJson(JsonData.Object jsonData)
Parameters
Returns
ToJson(File)
Attempts to convert the C# object into JSON data.
public override JsonData.Object ToJson(File file)
Parameters
file
File