src/main/java/org/jmxtrans/agent/util/json/Json.java
public static org.jmxtrans.agent.util.json.JsonValue parse(String string) {
    if (string == null) {
      throw new NullPointerException("string is null");
    }
    DefaultHandler handler = new DefaultHandler();
    new JsonParser(handler).parse(string);
    return handler.getValue();
  }
public static org.jmxtrans.agent.util.json.JsonValue parse(String string) {
    if (string == null) {
      throw new NullPointerException("string is null");
    }
    DefaultHandler handler = new DefaultHandler();
    new JsonParser(handler).parse(string);
    return handler.getValue();
  }
Parses the given input string as JSON. The input must contain a valid JSON value, optionally
padded with whitespace.

@param string
the input string, must be valid JSON
@return a value that represents the parsed JSON
@throws ParseException
if the input is not valid JSON