Uses of Record Class
org.springframework.boot.json.JsonWriter.MemberPath
-
Uses of JsonWriter.MemberPath in org.springframework.boot.json
Modifier and TypeMethodDescriptionJsonWriter.MemberPath.child
(int index) Create a new child from this path with the specified index.Create a new child from this path with the specified name.static JsonWriter.MemberPath
Create a newJsonWriter.MemberPath
instance from the given string.JsonWriter.MemberPath.parent()
Returns the value of theparent
record component.Modifier and TypeMethodDescriptionJsonWriter.NameProcessor.processName
(JsonWriter.MemberPath path, String existingName) Return a new name for the JSON member ornull
if the member should be filtered entirely.JsonWriter.ValueProcessor.processValue
(JsonWriter.MemberPath path, T value) Process the value at the given path.Modifier and TypeMethodDescriptionvoid
JsonWriter.Members.applyingPathFilter
(Predicate<JsonWriter.MemberPath> predicate) Add a filter that will be used to restrict the members written to the JSON.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.ModifierConstructorDescriptionMemberPath
(JsonWriter.MemberPath parent, String name, int index) Creates an instance of aMemberPath
record class.