Uses of Interface
org.springframework.boot.json.JsonWriter.ValueProcessor
-
Uses of JsonWriter.ValueProcessor in org.springframework.boot.json
Modifier and TypeMethodDescriptionstatic <T> JsonWriter.ValueProcessor<T>
JsonWriter.ValueProcessor.of
(Class<? extends T> type, UnaryOperator<T> action) Factory method to crate a newJsonWriter.ValueProcessor
that applies the given action.static <T> JsonWriter.ValueProcessor<T>
JsonWriter.ValueProcessor.of
(UnaryOperator<T> action) Factory method to crate a newJsonWriter.ValueProcessor
that applies the given action.default JsonWriter.ValueProcessor<T>
Return a new processor from this one that only applies to member with values that match the given predicate.default JsonWriter.ValueProcessor<T>
JsonWriter.ValueProcessor.whenHasPath
(String path) Return a new processor from this one that only applied to members with the given path.default JsonWriter.ValueProcessor<T>
JsonWriter.ValueProcessor.whenHasPath
(Predicate<JsonWriter.MemberPath> predicate) Return a new processor from this one that only applied to members that match the given path predicate.default JsonWriter.ValueProcessor<T>
JsonWriter.ValueProcessor.whenHasUnescapedPath
(String path) Return a new processor from this one that only applied to members with the given path (ignoring escape characters).default JsonWriter.ValueProcessor<T>
JsonWriter.ValueProcessor.whenInstanceOf
(Class<?> type) Return a new processor from this one that only applies to member with values of the given type.Modifier and TypeMethodDescriptionvoid
JsonWriter.Members.applyingValueProcessor
(JsonWriter.ValueProcessor<?> valueProcessor) Add the aJsonWriter.ValueProcessor
to be applied when the JSON is written.