| Package | Description |
|---|---|
| com.alibaba.fastjson2.introspect |
Provides reflection-based property access functionality for fastjson2.
|
| com.alibaba.fastjson2.writer |
| Modifier and Type | Field and Description |
|---|---|
private ToFloatFunction<T> |
PropertyAccessorFactory.FunctionAccessorFloatValue.getterFunc |
| Modifier and Type | Method and Description |
|---|---|
ToFloatFunction<java.lang.Object> |
PropertyAccessorFactoryLambda.getFloat(java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
<T> PropertyAccessor |
PropertyAccessorFactory.create(java.lang.String name,
ToFloatFunction<T> getterFunc,
ObjFloatConsumer<T> setterFunc)
Creates a property accessor using functional interfaces for float property access.
|
| Constructor and Description |
|---|
FunctionAccessorFloatValue(java.lang.String name,
ToFloatFunction<T> getterFunc,
ObjFloatConsumer<T> setterFunc) |
| Modifier and Type | Method and Description |
|---|---|
<T> FieldWriter |
ObjectWriterCreator.createFieldWriter(java.lang.String fieldName,
ToFloatFunction<T> function)
Creates a FieldWriter for the specified function that returns a float value.
|
static <T> FieldWriter |
ObjectWriters.fieldWriter(java.lang.String fieldName,
ToFloatFunction<T> function) |