missingFieldNames

Field names were not compiled into the binary

JSONEncodingError.swift:30
case missingFieldNames

Other cases

  • case anyTranscodeFailure

    Any fields that were decoded from binary format cannot be re-encoded into JSON unless the object they hold is a well-known type or a type registered with via Google_Protobuf_Any.register()

  • case timestampRange

    Timestamp values can only be JSON encoded if they hold a value between 0001-01-01Z00:00:00 and 9999-12-31Z23:59:59.

  • case durationRange

    Duration values can only be JSON encoded if they hold a value less than +/- 100 years.

  • case fieldMaskConversion

    Field masks get edited when converting between JSON and protobuf

  • case missingValue

    Instances of Google_Protobuf_Value can only be encoded if they have a valid kind (that is, they represent a null value, number, boolean, string, struct, or list).

  • case valueNumberNotFinite

    google.protobuf.Value cannot encode double values for infinity or nan, because they would be parsed as a string.