Package 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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JSONReader()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `add()`
  `protected void`
  `add(char cc)`
  `protected void`
  `addDigits()`
  `protected List`
  `array()`
  `protected JSONException`
  `buildInvalidInputException()`
  `protected char`
  `next()`
  `protected Object`
  `number()`
  `protected Map`
  `object()`
  `protected Object`
  `read()`
  `Object`
  `read(String string)`
  `protected void`
  `skipWhiteSpace()`
  `protected Object`
  `string(char quote)`
  `protected char`
  `unicode()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JSONReader

    public JSONReader()

- ## Method Details

  - ### 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() throws JSONException
    Throws:
      `JSONException`

  - ### string

    protected Object string(char quote)

  - ### add

    protected void add(char cc)

  - ### add

    protected void add()

  - ### addDigits

    protected void addDigits()

  - ### unicode

    protected char unicode()