net.minidev.json.parser
Class JSONParserStream

java.lang.Object
  extended by net.minidev.json.parser.JSONParserStream
Direct Known Subclasses:
JSONParser

public class JSONParserStream
extends Object

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

Author:
Uriel Chemouni

Field Summary
static int EOI
           
 
Constructor Summary
JSONParserStream()
           
 
Method Summary
 Object parse(Reader in)
          use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
 Object parse(Reader in, ContainerFactory containerFactory)
          use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOI

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

JSONParserStream

public JSONParserStream()
Method Detail

parse

public Object parse(Reader in)
             throws ParseException,
                    IOException
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory

Throws:
ParseException
IOException

parse

public Object parse(Reader in,
                    ContainerFactory containerFactory)
             throws ParseException,
                    IOException
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory

Throws:
ParseException
IOException


Copyright © 2011 Chemouni Uriel. All Rights Reserved.