Helpful
    Preparing search index...

    Interface IZDeserialize<T, S>

    Represents an object that can be used to deserialize strings to objects.

    interface IZDeserialize<T, S = string> {
        deserialize(candidate: S): T;
    }

    Type Parameters

    • T

      The type of data to deserialize.

    • S = string

      The serialization input.

    Implemented by

    Index

    Methods

    Methods

    • Deserializes a candidate string to an object T.

      Parameters

      • candidate: S

        The candidate string to deserialize.

      Returns T

      The object that was deserialized.

      An error if the candidate contains semantic errors and cannot be deserialized to the given target type.