public class JSONParser extends Object
Constructor and Description |
---|
JSONParser() |
Modifier and Type | Method and Description |
---|---|
static void |
parse(InputStream input)
Parse from an input stream to get a Json object
|
static void |
parse(InputStream input,
JSONHandler handler)
Parse to get a Json object
|
static void |
parse(Reader reader)
Parse from a reader to get a Json object
|
static void |
parse(Reader reader,
JSONHandler handler)
Parse to get a Json object
|
static void |
parseAny(InputStream input)
Parse from a reader to get an Json value
|
static void |
parseAny(InputStream input,
JSONHandler handler)
Parse to get a Json primitive
|
static void |
parseAny(Reader reader)
Parse from a reader to get an Json value
|
static void |
parseAny(Reader reader,
JSONHandler handler)
Parse to get a Json primitive
|
public static void parse(InputStream input)
public static void parse(InputStream input, JSONHandler handler)
public static void parse(Reader reader)
public static void parse(Reader reader, JSONHandler handler)
public static void parseAny(Reader reader)
public static void parseAny(Reader reader, JSONHandler handler)
public static void parseAny(InputStream input)
public static void parseAny(InputStream input, JSONHandler handler)
Licenced under the Apache License, Version 2.0