FileDocCategorySizeDatePackage
JSONValue.javaAPI DocAzureus 3.0.3.4718Mon Jun 04 17:43:56 BST 2007org.json.simple

JSONValue

public class JSONValue extends Object
author
FangYidong

Fields Summary
Constructors Summary
Methods Summary
public static java.lang.Objectparse(java.io.Reader in)
parse into java object from input source.

param
in
return
instance of : JSONObject,JSONArray,String,Boolean,Long,Double or null

		try{
			JSONParser parser=new JSONParser();
			return parser.parse(in);
		}
		catch(Exception e){
			return null;
		}
	
public static java.lang.Objectparse(java.lang.String s)

		StringReader in=new StringReader(s);
		return parse(in);