public class JsopParser extends Object
This parser is similar to a SAXParser using a callback (DefaultHandler) to inform about certain
events during parsing,i.e. node was added, node was removed, etc. This relieves the implementor from the burden of
performing a semantic analysis of token which are being parsed.
The underlying token parser is the JsopTokenizer.
| Constructor and Description |
|---|
JsopParser(String path,
String jsonDiff,
DefaultJsopHandler defaultHandler)
Constructs a new
JsopParser |
public JsopParser(String path, String jsonDiff, DefaultJsopHandler defaultHandler)
JsopParserpath - The root path of the JSON diff.jsonDiff - The JSON diff.defaultHandler - The DefaultJsopHandler to use.Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.