org.hypergraphdb.peer.serializer
Class JSONReader

java.lang.Object
  extended by org.hypergraphdb.peer.serializer.JSONReader

public class JSONReader
extends java.lang.Object

Simple JSON parser - copied and adapted from the StringTree library.


Field Summary
static int CURRENT
           
static int FIRST
           
static int NEXT
           
 
Constructor Summary
JSONReader()
           
 
Method Summary
 java.util.HashMap<java.lang.Integer,CustomSerializedValue> getCustomValues()
           
 java.lang.Object read(java.text.CharacterIterator it)
           
 java.lang.Object read(java.text.CharacterIterator ci, int start)
           
 java.lang.Object read(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST

public static final int FIRST
See Also:
Constant Field Values

CURRENT

public static final int CURRENT
See Also:
Constant Field Values

NEXT

public static final int NEXT
See Also:
Constant Field Values
Constructor Detail

JSONReader

public JSONReader()
Method Detail

read

public java.lang.Object read(java.text.CharacterIterator ci,
                             int start)

read

public java.lang.Object read(java.text.CharacterIterator it)

read

public java.lang.Object read(java.lang.String string)

getCustomValues

public java.util.HashMap<java.lang.Integer,CustomSerializedValue> getCustomValues()