Table of Contents

Class AssetLocationJsonParser

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class AssetLocationJsonParser : JsonConverter
Inheritance
JsonConverter
AssetLocationJsonParser
Inherited Members
JsonConverter.CanRead
JsonConverter.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

bool

ReadJson(JsonReader, Type, object, JsonSerializer)

public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)

Parameters

reader JsonReader
objectType Type
existingValue object
serializer JsonSerializer

Returns

object

WriteJson(JsonWriter, object, JsonSerializer)

public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)

Parameters

writer JsonWriter
value object
serializer JsonSerializer