org.json.simple
Class JSONValue

java.lang.Object
  extended by org.json.simple.JSONValue

public class JSONValue
extends java.lang.Object

Author:
FangYidong

Constructor Summary
JSONValue()
           
 
Method Summary
static java.lang.Object parse(java.io.Reader in)
          parse into java object from input source.
static java.lang.Object parse(java.lang.String s)
           
static java.lang.String toJSONString(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONValue

public JSONValue()
Method Detail

parse

public static java.lang.Object parse(java.io.Reader in)
parse into java object from input source.

Parameters:
in -
Returns:
instance of : JSONObject,JSONArray,String,Boolean,Long,Double or null

parse

public static java.lang.Object parse(java.lang.String s)

toJSONString

public static java.lang.String toJSONString(java.lang.Object value)