[Java] Interface JsonParser
This is the parser interface that backs the new JsonSlurper. It was derived from the Boon JSON parser.
- Since:
- 2.3.0
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Object |
parse(String jsonString) | |
Object |
parse(byte[] bytes) | |
Object |
parse(byte[] bytes, String charset) | |
Object |
parse(CharSequence charSequence) | |
Object |
parse(char[] chars) | |
Object |
parse(Reader reader) | |
Object |
parse(InputStream input) | |
Object |
parse(InputStream input, String charset) | |
Object |
parse(File file, String charset) |
Method Detail
public Object parse(String jsonString)
public Object parse(byte[] bytes)
public Object parse(byte[] bytes, String charset)
public Object parse(CharSequence charSequence)
public Object parse(char[] chars)
public Object parse(Reader reader)
public Object parse(InputStream input)
public Object parse(InputStream input, String charset)
public Object parse(File file, String charset)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/json/JsonParser.html