Interface RedisJsonOperations<K>

Type Parameters:
K - the Redis key type.
All Superinterfaces:
JsonOperations<K>
All Known Implementing Classes:
RedisJsonTemplate

public interface RedisJsonOperations<K> extends JsonOperations<K>
Interface that specifies Redis JSON operations.

Implemented by RedisJsonTemplate. Not often used directly, but a useful option to enhance testability, as it can easily be mocked or stubbed.

Specification objects are immutable and can be used to build up complex queries.

JSON path expressions follow the RedisJSON version 2 path syntax. Unless specified otherwise, results are positionally correlated to matching paths: each element in the returned List corresponds to a matching path, with null indicating that the matched value has an incompatible JSON type.

Since:
4.2
Author:
Yordan Tsintsov, Mark Paluch
See Also: