net.minidev.json.parser
Class JSONParser

java.lang.Object
  extended by net.minidev.json.parser.JSONParserStream
      extended by net.minidev.json.parser.JSONParser

public class JSONParser
extends JSONParserStream

Parser for JSON text. Please note that JSONParser is NOT thread-safe.

Author:
Uriel Chemouni

Field Summary
protected static boolean[] stopArray
           
protected static boolean[] stopKey
           
protected static boolean[] stopValue
           
protected static boolean[] stopX
           
 
Fields inherited from class net.minidev.json.parser.JSONParserStream
EOI
 
Constructor Summary
JSONParser()
           
 
Method Summary
 Object parse(String in)
           
 Object parse(String in, ContainerFactory containerFactory)
           
 
Methods inherited from class net.minidev.json.parser.JSONParserStream
parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stopArray

protected static boolean[] stopArray

stopKey

protected static boolean[] stopKey

stopValue

protected static boolean[] stopValue

stopX

protected static boolean[] stopX
Constructor Detail

JSONParser

public JSONParser()
Method Detail

parse

public Object parse(String in)
             throws IOException,
                    ParseException
Throws:
IOException
ParseException

parse

public Object parse(String in,
                    ContainerFactory containerFactory)
             throws ParseException
Throws:
ParseException


Copyright © 2011 Chemouni Uriel. All Rights Reserved.