|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.plural.jsonij.JSONParser
public class JSONParser
| Nested Class Summary | |
|---|---|
static class |
JSONParser.StatefullValue
|
| Field Summary | |
|---|---|
protected Locale |
locale
|
| Constructor Summary | |
|---|---|
JSONParser()
|
|
| Method Summary | |
|---|---|
Locale |
getLocale()
|
Value |
parse(Reader targetReader)
|
Value |
parse(String targetString)
|
JSON.Array<Value> |
parseArray(JSONReader target)
Parses a JSON Array Value from the reader. |
JSON.False |
parseFalse(JSONReader target)
Parses a JSON False Value from the reader. |
JSON.Null |
parseNull(JSONReader target)
Parses a JSON Null Value from the reader. |
JSON.Numeric |
parseNumeric(JSONReader target)
Parses a JSON Numeric Value from the reader. |
JSON.Object<JSON.String,Value> |
parseObject(JSONReader target)
Parses a JSON Object Value from the reader. |
JSONParser.StatefullValue |
parseStatefullValue(String targetString,
int startIndex)
|
JSON.String |
parseString(JSONReader target)
Parses a JSON String Value from the reader. |
JSON.True |
parseTrue(JSONReader target)
Parses a JSON True Value from the reader. |
Value |
parseValue(JSONReader target)
Parse a JSON Value from the target. |
Value |
parseValue(String targetString)
|
Locale |
setLocale(Locale locale)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Locale locale
| Constructor Detail |
|---|
public JSONParser()
| Method Detail |
|---|
public final Locale getLocale()
public final Locale setLocale(Locale locale)
locale - the locale to set
public final Value parse(String targetString)
throws IOException,
ParserException
IOException
ParserException
public final Value parse(Reader targetReader)
throws IOException,
ParserException
IOException
ParserException
public final Value parseValue(String targetString)
throws IOException,
ParserException
IOException
ParserException
public final JSONParser.StatefullValue parseStatefullValue(String targetString,
int startIndex)
throws IOException,
ParserException
IOException
ParserException
public final Value parseValue(JSONReader target)
throws IOException,
ParserException
target - Reader to read from.
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.Object<JSON.String,Value> parseObject(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.Array<Value> parseArray(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.String parseString(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.Numeric parseNumeric(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.True parseTrue(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.False parseFalse(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
public final JSON.Null parseNull(JSONReader target)
throws IOException,
ParserException
target - The reader to read the value from
IOException - IO Exception
ParserException - JSON Parser Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||