Table of Contents

Class JsonAttributesConverter

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class JsonAttributesConverter : JsonConverter
Inheritance
JsonConverter
JsonAttributesConverter
Inherited Members
JsonConverter.CanRead
JsonConverter.CanWrite
Extension Methods

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