Class goog.json.Serializer
code »Class that is used to serialize JSON objects to a string.
Constructor
goog.json.Serializer ( opt_replacer )
Parameters |
---|
|
Show:
Instance Methods
code »serializeArray ( arr, sb )Serializes an array to a JSON string
code »serializeNumber_ ( n, sb )Serializes a number to a JSON string
code »serializeObject_ ( obj, sb )Serializes an object to a JSON string
code »serializeString_ ( s, sb )Serializes a string to a JSON string
code »serialize_ ( object, sb )Serializes a generic value to a JSON string
Parameters |
---|
|
Throws |
|