Package org.apache.struts2.json
Class JSONReader
java.lang.Object
org.apache.struts2.json.JSONReader
Deserializes and object from a JSON string
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidadd()protected voidadd(char cc) protected voidprotected Listarray()protected JSONExceptionprotected charnext()protected Objectnumber()protected Mapobject()protected Objectread()protected voidprotected Objectstring(char quote) protected charunicode()
- 
Constructor Details- 
JSONReaderpublic JSONReader()
 
- 
- 
Method Details- 
nextprotected char next()
- 
skipWhiteSpaceprotected void skipWhiteSpace()
- 
read- Throws:
- JSONException
 
- 
read- Throws:
- JSONException
 
- 
object- Throws:
- JSONException
 
- 
buildInvalidInputException
- 
array- Throws:
- JSONException
 
- 
number- Throws:
- JSONException
 
- 
string
- 
addprotected void add(char cc) 
- 
addprotected void add()
- 
addDigitsprotected void addDigits()
- 
unicodeprotected char unicode()
 
-