Interface JsonOperations.JsonResults
- All Superinterfaces:
Iterable<JsonOperations.JsonResult>, Streamable<JsonOperations.JsonResult>, Supplier<Stream<JsonOperations.JsonResult>>
- Enclosing interface:
JsonOperations<K>
A sequence of JSON results with access to their JSON representations and deserialized values.
Elements retain the order of the matching paths or input keys of the originating command.
- Since:
- 4.2
- Author:
- Mark Paluch, Yordan Tsintsov, Moritz Halbritter
-
Method Summary
Modifier and TypeMethodDescriptionDeserialize each JSON result into an object of the given type.as(ParameterizedTypeReference<V> type) Deserialize each JSON result into an object of the given type.asBytes()Return the JSON representation of each result as raw bytes.asString()Return the JSON representation of each result as a UTF-8 string.Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
as
-
as
Deserialize each JSON result into an object of the given type.- Type Parameters:
V- the result element type.- Parameters:
type- the target type for each result.- Returns:
- the deserialized values in result order.
-
asString
-
asBytes
-