Fundamentals
    Preparing search index...

    Class JsonConverter<T>Abstract

    Base class for JSON converters that handle serialization and deserialization of specific types. Similar to System.Text.Json.Serialization.JsonConverter.

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Index
    • Determines whether the converter can convert the specified type.

      Parameters

      Returns boolean

      True if the converter can convert the type; otherwise, false.

    • Reads and converts the JSON to the target type.

      Parameters

      • value: any

        The value to deserialize.

      Returns T

      The deserialized value.

    • Writes the value as JSON.

      Parameters

      • value: T

        The value to serialize.

      Returns any

      The serialized value.