init(jsonString:options:)

    Creates a new message by decoding the given string containing a serialized message in JSON format.

    Message+JSONAdditions.swift:67
    init(jsonString: String, options: JSONDecodingOptions = JSONDecodingOptions()) throws

    Parameters

    jsonString

    The JSON-formatted string to decode.

    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