Namespace Unity.Serialization.Json
Classes
InvalidJsonException
The exception that is thrown when json input is invalid.
JsonArray
The default object output by Json
JsonObject
The default object output by Json
JsonSerialization
High level API for serializing or deserializing json data from string, file or stream.
Structs
DeserializationEvent
Structure to events that occur during deserialization.
DeserializationResult
Object containing the results of a deserialization. Use this to capture any errors or events.
JsonDeserializationContext<TValue>
The Json
JsonMigrationContext
A migration context used to deserialize and migrate types.
JsonSerializationContext<TValue>
The Json
JsonSerializationParameters
Custom parameters to use for json serialization or deserialization.
JsonWriter
The Json
JsonWriter.ArrayScope
Disposable struct to manage opening and closing array scopes.
JsonWriter.ObjectScope
Disposable struct to manage opening and closing object scopes.
JsonWriter.Unsafe
This object can be used to build a JSON string in an unsafe or bursted context.
JsonWriterOptions
Structure used to define custom behavior when writing JSON using the Json
PackedBinaryStream
Output stream for deserialization. This stream is used to retain relevant data parsed during deserialization.
SerializedArrayView
A view on top of the Packed
SerializedArrayView.Enumerator
Enumerates the elements of Serialized
SerializedMemberView
A view on top of the Packed
SerializedMemberViewCollection
A structure to hold a collection of Serialized
SerializedMemberViewCollection.Enumerator
Enumerates the elements of Serialized
SerializedObjectReader
The Serialized
SerializedObjectReaderConfiguration
Parameters used to configure the Serialized
SerializedObjectView
A view on top of the Packed
SerializedObjectView.Enumerator
Enumerates the elements of Serialized
SerializedPrimitiveView
A view on top of the Packed
SerializedStringView
A view on top of the Packed
SerializedValueView
A view on top of the Packed
Interfaces
IContravariantJsonAdapter<TValue>
Implement this interface to override serialization and deserialization behaviour for a given type.
IContravariantJsonMigration<TValue>
Interface used to describe how a specified type should be migrated from one version to another.
IJsonAdapter
Base interface for json adapters.
IJsonAdapter<TValue>
Implement this interface to override serialization and deserialization behaviour for a given type.
IJsonDeserializationContext
The IJson
IJsonMigration
Base interface used to hold a reference to a typed IJson
IJsonMigration<TValue>
Interface used to describe how a specified type should be migrated from one version to another.
IJsonSerializationContext
The IJson
Enums
EventType
The type of the event encountered during deserialization.
JsonValidationType
The validation type to use.
NodeType
Step instructions for the high-level reader API.
This is used as input to control the parser.
TokenType
The Token