code: public static org.jmxtrans.agent.util.json.JsonValue value(float value) {
      if (Float.isInfinite(value) || Float.isNaN(value)) {
        throw new IllegalArgumentException("Infinite and NaN values not permitted in JSON");
      }
      return new org.jmxtrans.agent.util.json.JsonNumber(cutOffPointZero(Float.toString(value)));
    }
docs: Returns a JsonValue instance that represents the given <code>float</code> value.
  
  @param value
  the value to get a JSON representation for
  @return a JSON value that represents the given value