public class Parser extends Object
public Parser(String inbuf)
inbuf
- The JSON string to be parsed. The string may contain
multiple JSON objects, one of which will be returned by each
successive call to parseObjectLiteral()
.public JSONObject parseObjectLiteral() throws SyntaxError
JSONObject
in the string being scanned, or
null if the end of the string has been reached.SyntaxError
Copyright © 2017. All rights reserved.