Table of Contents

Class Json

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Represents a json engine structure.

public sealed class Json : EngineStructure, IDisposable
Inheritance
Json
Implements
Inherited Members
Extension Methods

Remarks

This class is specifically for compatibility with the base game.
It is recommended to use JsonUtility and System.Text.Json for all json-related problems in C#.

Properties

StructureId

Methods

Dump()

Dumps the content of the json object to a string.

Parse(string)

Parses the specified string as a json structure.

ToNwObject(Location, NwGameObject?, bool)

Attempts to parse this json structure into a NwObject.

ToNwObject<T>(Location, NwGameObject?, bool)

Attempts to parse this json structure into a NwObject.

Operators

implicit operator Json(nint)