org.apache.struts2.json
Class JSONReader
java.lang.Object
org.apache.struts2.json.JSONReader
public class JSONReader
- extends Object
Deserializes and object from a JSON string
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONReader
public JSONReader()
next
protected char next()
skipWhiteSpace
protected void skipWhiteSpace()
read
public Object read(String string)
throws JSONException
- Throws:
JSONException
read
protected Object read()
throws JSONException
- Throws:
JSONException
object
protected Map object()
throws JSONException
- Throws:
JSONException
buildInvalidInputException
protected JSONException buildInvalidInputException()
array
protected List array()
throws JSONException
- Throws:
JSONException
number
protected Object number()
string
protected Object string(char quote)
add
protected void add(char cc)
add
protected void add()
addDigits
protected void addDigits()
unicode
protected char unicode()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.