code: public void serializePrimitive(S rec, String fieldName, float value) {
          serializePrimitive(rec, fieldName, Float.valueOf(value));
      }
docs: Can be overridden to avoid boxing a float where appropriate