Table of Contents

Class NuiValueConverter

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

JSON converter for NuiValue<T> that serializes/deserializes only the wrapped value.

public sealed class NuiValueConverter : JsonConverter
Inheritance
JsonConverter
NuiValueConverter
Inherited Members
JsonConverter.CanRead
JsonConverter.CanWrite
Extension Methods

Methods

CanConvert(Type)

Determines whether this converter can handle the specified type.

ReadJson(JsonReader, Type, object?, JsonSerializer)

Reads a JSON value into a NuiValue<T> instance.

WriteJson(JsonWriter, object?, JsonSerializer)

Writes the wrapped value from a NuiValue<T> to JSON.