src/main/java/org/jmxtrans/agent/util/json/JsonObject.java
@Deprecated
  public static JsonObject readFrom(String string) {
    return org.jmxtrans.agent.util.json.JsonValue.readFrom(string).asObject();
  }
@Deprecated
  public static JsonObject readFrom(String string) {
    return org.jmxtrans.agent.util.json.JsonValue.readFrom(string).asObject();
  }
Reads a JSON object from the given string.

@param string
the string that contains the JSON object
@return the JSON object that has been read
@throws ParseException
if the input is not valid JSON
@throws UnsupportedOperationException
if the input does not contain a JSON object
@deprecated Use {@link Json#parse(String)}{@link org.jmxtrans.agent.util.json.JsonValue#asObject() .asObject()} instead