接口的使用
org.springframework.boot.json.JsonWriter.PairExtractor
使用JsonWriter.PairExtractor的程序包
-
org.springframework.boot.json中JsonWriter.PairExtractor的使用
修饰符和类型方法说明static <T> JsonWriter.PairExtractor
<T> Factory method to create aJsonWriter.PairExtractor
using distinct name and value extraction functions.修饰符和类型方法说明<E> JsonWriter.Member
<T> JsonWriter.Member.usingExtractedPairs
(BiConsumer<T, Consumer<E>> elements, JsonWriter.PairExtractor<E> extractor) Add JSON name/value pairs by extracting values from a series of elements.