docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.Serialization.Binary

    Classes

    BinarySerialization

    High level API for serializing or deserializing json data from string, file or stream.

    BinarySerializationState

    This class is used to store state between multiple serialization calls. By passing this to BinarySerializationParameters will allow visitors and serialized references to be re-used.

    Structs

    BinaryDeserializationContext<TValue>

    The BinaryDeserializationContext<TValue> is available from adapters. It provides access to the current adapter enumerator and allows for control of deserialization for a given type.

    BinarySerializationContext<TValue>

    The BinarySerializationContext<TValue> is available from adapters. It provides access to the current adapter enumerator and allows for control of serialization for a given type.

    BinarySerializationParameters

    Custom parameters to use for binary serialization or deserialization.

    Interfaces

    IBinaryAdapter

    Base interface for binary adapters.

    IBinaryAdapter<TValue>

    Implement this interface to override serialization and deserialization behaviour for a given type.

    IBinaryDeserializationContext

    The IBinaryDeserializationContext provides an untyped context for contravariant serialization adapters.

    IBinarySerializationContext

    The IBinarySerializationContext provides an untyped context for contravariant serialization adapters.

    IContravariantBinaryAdapter<TValue>

    Implement this interface to override serialization and deserialization behaviour for a given type.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)