Class FlaxVersionConverter
Inheritance
System.Object
FlaxVersionConverter
Namespace: FlaxEditor
Assembly: FlaxEngine.CSharp.dll
Syntax
public class FlaxVersionConverter : JsonConverter
Constructors
FlaxVersionConverter()
Declaration
public FlaxVersionConverter()
Methods
CanConvert(Type)
Determines whether this instance can convert the specified object type.
Declaration
public override bool CanConvert(Type objectType)
Parameters
System.Type
objectType
Type of the object. |
Returns
System.Boolean
|
ReadJson(JsonReader, Type, Object, JsonSerializer)
Reads the JSON representation of the object.
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Newtonsoft.Json.JsonReader
reader
The Newtonsoft.Json.JsonReader to read from. |
System.Type
objectType
Type of the object. |
System.Object
existingValue
The existing property value of the JSON that is being converted. |
Newtonsoft.Json.JsonSerializer
serializer
The calling serializer. |
Returns
System.Object
The object value. |
WriteJson(JsonWriter, Object, JsonSerializer)
Writes the JSON representation of the object.
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Newtonsoft.Json.JsonWriter
writer
The Newtonsoft.Json.JsonWriter to write to. |
System.Object
value
The value. |
Newtonsoft.Json.JsonSerializer
serializer
The calling serializer. |