Uses of Interface
com.alibaba.fastjson2.function.ToByteFunction
Packages that use ToByteFunction
Package
Description
Provides reflection-based property access functionality for fastjson2.
-
Uses of ToByteFunction in com.alibaba.fastjson2.introspect
Methods in com.alibaba.fastjson2.introspect that return ToByteFunctionModifier and TypeMethodDescriptionCreates a ToByteFunction functional interface to access a byte property via the given getter method.Methods in com.alibaba.fastjson2.introspect with parameters of type ToByteFunctionModifier and TypeMethodDescription<T> PropertyAccessorPropertyAccessorFactory.create(String name, ToByteFunction<T> getterFunc, ObjByteConsumer<T> setterFunc) Creates a property accessor using functional interfaces for byte property access. -
Uses of ToByteFunction in com.alibaba.fastjson2.writer
Methods in com.alibaba.fastjson2.writer with parameters of type ToByteFunctionModifier and TypeMethodDescription<T> FieldWriterObjectWriterCreator.createFieldWriter(String fieldName, ToByteFunction<T> function) Creates a FieldWriter for the specified function that returns a byte value.static <T> FieldWriterObjectWriters.fieldWriter(String fieldName, ToByteFunction<T> function)