Interface JsonOperations.JsonKeySupport<P extends JsonOperations.JsonKeySupport<P>>
- Type Parameters:
P- self-type used for fluent method chaining.
- All Superinterfaces:
JsonOperations.PathSpec<P>
- All Known Subinterfaces:
JsonOperations.JsonAtKeySpec, JsonOperations.JsonBooleanSpec, JsonOperations.JsonStringSpec
- Enclosing interface:
JsonOperations<K>
public static interface JsonOperations.JsonKeySupport<P extends JsonOperations.JsonKeySupport<P>>
extends JsonOperations.PathSpec<P>
Common support for JSON operations bound to a single key and configurable path.
- Since:
- 4.2
- Author:
- Mark Paluch, Yordan Tsintsov, Moritz Halbritter
-
Method Summary
Methods inherited from interface JsonOperations.PathSpec
path, root
-
Method Details
-
clear
Long clear()Clear the JSON values at the configured path.- Returns:
- the number of values that were cleared.
- See Also:
-
delete
Long delete()Delete the JSON values at the configured path.- Returns:
- the number of values that were deleted.
- See Also:
-
get
Retrieve the JSON value at the configured path.- Returns:
- the result containing the values matched by the configured path.
- See Also:
-