malformedWellKnownTypeJSON

    Well-known types being decoded from JSON must have only two fields: the @type field and a value field containing the specialized JSON coding of the well-known type.

    AnyUnpackError.swift:32
    case malformedWellKnownTypeJSON

    Other cases

    • case typeMismatch

      The type_url field in the Google_Protobuf_Any message did not match the message type provided to the unpack() method.

    • case malformedAnyField

      The Google_Protobuf_Any message was malformed in some other way not covered by the other error cases.