@Override
    public T parse(JsonParser jsonParser) throws IOException {
        return getFromFloat((float) jsonParser.getValueAsDouble());
    }
Called to convert a an object of type T into a float.

@param object The object being converted.
core/src/main/java/com/bluelinelabs/logansquare/typeconverters/FloatBasedTypeConverter.java