code: public static Object parse(String json, JSONVisitor handler)
              throws ParseException {
          StringReader reader = new StringReader(json);
          try {
              return parse(reader, handler);
          } catch (IOException e) {
              throw new ParseException(e.getMessage(), 0);
          } finally {
              reader.close();
          }
      }
docs: parse json.
  
  @param json    json string.
  @param handler handler.
  @return result.
  @throws ParseException