src/main/java/org/jmxtrans/agent/util/json/JsonArray.java
public JsonArray add(org.jmxtrans.agent.util.json.JsonValue value) {
    if (value == null) {
      throw new NullPointerException("value is null");
    }
    values.add(value);
    return this;
  }
public JsonArray add(org.jmxtrans.agent.util.json.JsonValue value) {
    if (value == null) {
      throw new NullPointerException("value is null");
    }
    values.add(value);
    return this;
  }
Appends the specified JSON value to the end of this array.

@param value
the JsonValue to add to the array, must not be <code>null</code>
@return the array itself, to enable method chaining