Class AssetLocationJsonParser
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class AssetLocationJsonParser : JsonConverter
- Inheritance
-
JsonConverterAssetLocationJsonParser
- Inherited Members
-
JsonConverter.CanReadJsonConverter.CanWrite
- Extension Methods
Constructors
AssetLocationJsonParser(string)
public AssetLocationJsonParser(string domain)
Parameters
domain
string
Methods
CanConvert(Type)
public override bool CanConvert(Type objectType)
Parameters
objectType
Type
Returns
ReadJson(JsonReader, Type, object, JsonSerializer)
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Returns
WriteJson(JsonWriter, object, JsonSerializer)
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
writer
JsonWritervalue
objectserializer
JsonSerializer