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