src/main/java/org/jmxtrans/agent/util/json/JsonObject.java
@Deprecated
  public static JsonObject readFrom(Reader reader) throws IOException {
    return org.jmxtrans.agent.util.json.JsonValue.readFrom(reader).asObject();
  }
@Deprecated
  public static JsonObject readFrom(Reader reader) throws IOException {
    return org.jmxtrans.agent.util.json.JsonValue.readFrom(reader).asObject();
  }
Reads a JSON object from the given reader.
<p>
Characters are read in chunks and buffered internally, therefore wrapping an existing reader in
an additional <code>BufferedReader</code> does <strong>not</strong> improve reading
performance.
</p>

@param reader
the reader to read the JSON object from
@return the JSON object that has been read
@throws IOException
if an I/O error occurs in the reader
@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(Reader)}{@link org.jmxtrans.agent.util.json.JsonValue#asObject() .asObject()} instead