json.EvalJsonProcessor Extends
A class that parses and stringifies JSON using eval (as implemented in goog.json). Adapts goog.json to the goog.json.Processor interface.

Inheritance

Constructor

goog.json.EvalJsonProcessor(opt_replaceropt_useUnsafeParsing)

Parameters

opt_replacer : ?goog.json.Replacer=
An optional replacer to use during serialization.
opt_useUnsafeParsing : ?boolean=
Whether to use goog.json.unsafeParse for parsing. Safe parsing is very slow on large strings. On the other hand, unsafe parsing uses eval() without checking whether the string is valid, so it should only be used if you trust the source of the string.

Instance Methods

Public Protected Private
parse()
No description.
code »
parser_()
No description.
code »
stringify()
No description.
code »

Instance Properties

serializer_ : goog.json.Serializer
No description.
Code »

Package json

Package Reference