goog.proto.Serializer
Classgoog.proto.Serializer
> goog.json.Serializer
goog.proto.Serializer()
Object that can serialize objects or values to a protocol buffer string.
.serialize(object)
Inherited from goog.json.Serializer
.
Serializes an object or a value to a JSON string.
object
{*}
string
}
.serializeArray(arr, sb)
[protected]Serializes an array to a protocol buffer string. This overrides the JSON method to output empty slots when the value is null or undefined.
arr
{Array
}
sb
{Array
}