Helpful
    Preparing search index...

    Class ZDeserializeTry<T, S>

    A deserializer that attempts to deserialize multiple times through a series of supported languages.

    Type Parameters

    • T

      The type of data to deserialize.

    • S = string

      The input type

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Initializes a new instance of this object.

      Type Parameters

      • T

        The type of data to deserialize.

      • S = string

        The input type

      Parameters

      • _children: IZDeserialize<T, S>[]

        The list of deserializer objects to try on a specific candidate. The first deserializer to succeed will return the target object. If no deserializer is able to deserialize the candidate, then an error is throw with a mapping of serialization errors between each deserializer.

      Returns ZDeserializeTry<T, S>

    Methods