Table of Contents

Namespace PAC.Json

Classes

JsonConversion
JsonConversion.JsonConverterSet

Represents a set of JsonConverter objects, making sure there's at most one custom converter for each type. For example, a class MyClass cannot have two JSON converters defined for it in the list.

NOTE: Accessing converters is O(1).

JsonConversion.JsonConverter<T, JsonDataType>

An interface that custom JSON converters must implement.

NOTE: Has a default implementation for an overload FromJson(JsonData jsonData) that ensures it is of type JsonDataType before calling the specific overload FromJSON(JsonDataType jsonData).

JsonData.Bool

Represents a bool in JSON data.

JsonData.Float

Represents a float in JSON data.

JsonData.Int

Represents an int in JSON data.

JsonData.List

Represents a non-null list/array in JSON data.

JsonData.Null

Represents a null value in JSON data.

JsonData.Object

Represents a non-null object in JSON data.

JsonData.String

Represents a non-null string in JSON data.

Interfaces

JsonData

Represents a piece of JSON data.