public class JsonSlurper
extends groovy.lang.GroovyObjectSupport
| Constructor and Description |
|---|
JsonSlurper() |
JsonSlurper(JsonConfig jsonConfig) |
| Modifier and Type | Method and Description |
|---|---|
JSON |
parse(File file) |
JSON |
parse(InputStream input) |
JSON |
parse(Reader reader) |
JSON |
parse(String uri) |
JSON |
parse(URL url) |
JSON |
parseText(String text) |
public JsonSlurper()
public JsonSlurper(JsonConfig jsonConfig)
public JSON parse(File file) throws IOException
IOExceptionpublic JSON parse(URL url) throws IOException
IOExceptionpublic JSON parse(InputStream input) throws IOException
IOExceptionpublic JSON parse(String uri) throws IOException
IOExceptionpublic JSON parse(Reader reader) throws IOException
IOExceptionCopyright © 2006–2013 Json-lib. All rights reserved.