array(fromJSONUTF8Data:options:)

    Creates a new array of messages by decoding the given Data containing a serialized array of messages in JSON format, interpreting the data as UTF-8 encoded text.

    Message+JSONArrayAdditions_Data.swift:27
    static func array(fromJSONUTF8Data jsonUTF8Data: Data, options: JSONDecodingOptions = JSONDecodingOptions()) throws -> [Self]

    Parameters

    jsonUTF8Data

    The JSON-formatted data to decode, represented as UTF-8 encoded text.

    options

    The JSONDecodingOptions to use.

    Throws

    JSONDecodingError if decoding fails.

    Other members in extension

    Type members

    Show obsolete interfaces (3)

    Hide obsolete interfaces

    Instance members

    Show obsolete interfaces (2)

    Hide obsolete interfaces