net.arnx.jsonic.parse
Class JSONParser

java.lang.Object
  extended by net.arnx.jsonic.parse.JSONParser
Direct Known Subclasses:
ScriptParser, TraditionalParser

public class JSONParser
extends Object


Constructor Summary
JSONParser(net.arnx.jsonic.io.InputSource in, int maxDepth, boolean interpretterMode, boolean ignoreWhirespace, net.arnx.jsonic.util.LocalCache cache)
           
 
Method Summary
 int getDepth()
           
 int getMaxDepth()
           
 Object getValue()
           
 boolean isIgnoreWhitespace()
           
 boolean isInterpretterMode()
           
 JSONEventType next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONParser

public JSONParser(net.arnx.jsonic.io.InputSource in,
                  int maxDepth,
                  boolean interpretterMode,
                  boolean ignoreWhirespace,
                  net.arnx.jsonic.util.LocalCache cache)
Method Detail

getMaxDepth

public int getMaxDepth()

isInterpretterMode

public boolean isInterpretterMode()

isIgnoreWhitespace

public boolean isIgnoreWhitespace()

getValue

public Object getValue()

getDepth

public int getDepth()

next

public JSONEventType next()
                   throws IOException
Throws:
IOException