public Object parseJSON ( String strJson ) throws ScriptException , NoSuchMethodException { Object json = scriptEngine . eval ( "JSON" ) ; Object data = invokeMethod ( json , "parse" , strJson ) ; return data ; }
Returns the JSON object from a string