net.arnx.jsonic
Class JSONReader

java.lang.Object
  extended by net.arnx.jsonic.JSONReader

public class JSONReader
extends Object


Method Summary
 Boolean getBoolean()
           
 int getDepth()
           
 List<?> getList()
           
 Map<?,?> getMap()
           
 BigDecimal getNumber()
           
 String getString()
           
<T> T
getValue(Class<T> cls)
           
 Object getValue(Type t)
           
 JSONEventType next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public JSONEventType next()
                   throws IOException
Throws:
IOException

getValue

public <T> T getValue(Class<T> cls)
           throws IOException
Throws:
IOException

getValue

public Object getValue(Type t)
                throws IOException
Throws:
IOException

getMap

public Map<?,?> getMap()
                throws IOException
Throws:
IOException

getList

public List<?> getList()
                throws IOException
Throws:
IOException

getString

public String getString()
                 throws IOException
Throws:
IOException

getNumber

public BigDecimal getNumber()
                     throws IOException
Throws:
IOException

getBoolean

public Boolean getBoolean()
                   throws IOException
Throws:
IOException

getDepth

public int getDepth()