parse into java object from input source.paraminreturninstance of : JSONObject,JSONArray,String,Boolean,Long,Double or null try{ JSONParser parser=new JSONParser(); return parser.parse(in); } catch(Exception e){ return null; }
try{ JSONParser parser=new JSONParser(); return parser.parse(in); } catch(Exception e){ return null; }
StringReader in=new StringReader(s); return parse(in);