Closure Library API Documentation
Go to class or file:
json.Processor
Extends
goog.string.Parser
An interface for JSON parsing and serialization.
Useful links
Source Code
Git
Inheritance
goog.string.Parser
goog.json.Processor
goog.string.Parser
Constructor
goog.json.Processor(
)
Instance Methods
Public
Protected
Private
Defined in
goog.string.Parser
parse
(
s
)
⇒
*
Parses a string into an object and returns the result. Agnostic to the format of string and object.
Arguments:
s
:
string
The string to parse.
Returns:
*
The object generated from the string.
code »
Package json
Package Reference