Table of Contents

Namespace PolyMod.Json

Classes

EnumCacheJson<T>

The JSON converter that reads and writes a game enum value as its name in EnumCache. The JSON form is a string, for example "imperius". The converter also reads and writes the value as a property name.

EnumCacheListJson<T>

The JSON converter that reads and writes a list of game enum values as their names in EnumCache. The JSON form is an array of strings, for example ["imperius", "bardur"].

EnumNameJson<TEnum>

The JSON converter that reads and writes an enum value as its C# member name. The JSON form is a string, for example "Linear".

JsonMerger

The merge of a JSON patch into a JSON object, for example a GLD patch into the game logic data.

Vector2Json

The JSON converter that reads and writes a UnityEngine.Vector2. The JSON form is an array of two numbers, x and y, for example [0.5, -1].

VersionJson

The JSON converter that reads and writes a Version. The JSON form is a version string, for example "1.2.3".