Table of Contents

Method ReadJson

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ReadJson(JsonReader, Type, NuiValueStrRef?, bool, JsonSerializer)

Reads the JSON representation of the object.

public override NuiValueStrRef? ReadJson(JsonReader reader, Type objectType, NuiValueStrRef? existingValue, bool hasExistingValue, JsonSerializer serializer)

Parameters

reader JsonReader

The Newtonsoft.Json.JsonReader to read from.

objectType Type

Type of the object.

existingValue NuiValueStrRef

The existing value of object being read. If there is no existing value then null will be used.

hasExistingValue bool

The existing value has a value.

serializer JsonSerializer

The calling serializer.

Returns

NuiValueStrRef

The object value.