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
IOException
public JSON parse(URL url) throws IOException
IOException
public JSON parse(InputStream input) throws IOException
IOException
public JSON parse(String uri) throws IOException
IOException
public JSON parse(Reader reader) throws IOException
IOException
Copyright © 2006–2018 Json-lib. All rights reserved.