Nsdk_Vps_LocalizationUpdate
Declaration
nonisolated struct Nsdk_Vps_LocalizationUpdateConstructors
Constructor
init()
Summary
Overload 1
init(jsonString: String, options: JSONDecodingOptions = JSONDecodingOptions()) throws
Summary
Creates a new message by decoding the given string containing a
serialized message in JSON format.
Throws
SwiftProtobufErrororJSONDecodingErrorif decoding fails.
Parameters
| Name | Type | Summary |
|---|---|---|
| jsonString | String | The JSON-formatted string to decode. |
| options | JSONDecodingOptions | The JSONDecodingOptions to use. |
Overload 2
init<Bytes>(jsonUTF8Bytes: Bytes, options: JSONDecodingOptions = JSONDecodingOptions()) throws where Bytes : SwiftProtobufContiguousBytes
Summary
Creates a new message by decoding the given SwiftProtobufContiguousBytes
containing a serialized message in JSON format, interpreting the data as UTF-8 encoded
text.
Throws
SwiftProtobufErrororJSONDecodingErrorif decoding fails.
Parameters
| Name | Type | Summary |
|---|---|---|
| jsonUTF8Bytes | Bytes | The JSON-formatted data to decode, represented as UTF-8 encoded text. |
| options | JSONDecodingOptions | The JSONDecodingOptions to use. |
Overload 3
init(jsonUTF8Data: Data, options: JSONDecodingOptions = JSONDecodingOptions()) throws
Summary
Creates a new message by decoding the given Data containing a serialized message
in JSON format, interpreting the data as UTF-8 encoded text.
Throws
SwiftProtobufErrororJSONDecodingErrorif decoding fails.
Creates a new message with all of its fields initialized to their default
values.