search

goog.proto2.ObjectSerializer

Provided By
Extends

ObjectSerializer, a serializer which turns Messages into simplified ECMAScript objects.

new ObjectSerializer( opt_keyOption, opt_serializeBooleanAsNumber, opt_ignoreUnknownFields )

Parameters
opt_keyOptiongoog.proto2.ObjectSerializer.KeyOption=

If specified, which key option to use when serializing/deserializing.

opt_serializeBooleanAsNumberboolean=

If specified and true, the serializer will convert boolean values to 0/1 representation.

opt_ignoreUnknownFieldsboolean=

If specified and true, the serializer will ignore unknown fields in the JSON payload instead of returning an error.

Instance Methods

Instance Properties

Enumerations