Repository navigation
Conversation
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Dgramada
marked this pull request as ready for review
June 30, 2026 11:43
Signed-off-by: Yordan Tsintsov <[email protected]>
mp911de
reviewed
Jul 1, 2026
mp911de
left a comment
Member
There was a problem hiding this comment.
Here's an initial round of review feedback.
mp911de
reviewed
Jul 2, 2026
mp911de
reviewed
Jul 2, 2026
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
Signed-off-by: Yordan Tsintsov <[email protected]>
mp911de
force-pushed
the
main
branch
2 times, most recently
from
August 5, 2026 14:13
e0163c7 to
5e76bfb
Compare
4 tasks done
Contributor
|
Just a note from my side:
|
Contributor
Author
|
Hi @mhalbritter. Thank you for pointing this out. The commands were omitted on purpose because of some issues with the Jedis driver. We are planning on improving the Jedis JSON API and possibly adding the leftover commands once Jedis releases the API improvements. |
mp911de
added a commit
that referenced
this pull request
Aug 12, 2026
Fix inconsistencies, bugs, documentation, move types around, make specs immutable. Fix DataType literal. Refine exception guards. Enable CI for Valkey (bare, without JSON). Remove StringRedisJsonTemplate for now, update docs, introduce fluent delete/unlink API for key removal. See #3390
Member
|
Thank you for your contribution. That's merged and polished now. |
mp911de
added a commit
that referenced
this pull request
Aug 12, 2026
Fix inconsistencies, bugs, documentation, move types around, make specs immutable. Fix DataType literal. Refine exception guards. Enable CI for Valkey (bare, without JSON). Remove StringRedisJsonTemplate for now, update docs, introduce fluent delete/unlink API for key removal. See #3390
mp911de
added a commit
that referenced
this pull request
Aug 12, 2026
Fix inconsistencies, bugs, documentation, move types around, make specs immutable. Fix DataType literal. Refine exception guards. Enable CI for Valkey (bare, without JSON). Remove StringRedisJsonTemplate for now, update docs, introduce fluent delete/unlink API for key removal. See #3390
andy-stark-redis
added a commit
to redis/docs
that referenced
this pull request
Nov 24, 2026
Document the new template-layer JSON API from the in-progress SDR PR spring-projects/spring-data-redis#3390 ahead of its release. The page lives under content/integrate/spring-framework-cache/, which despite the directory name is the Spring Data Redis section (LinkTitle "Spring Data Redis"), alongside the cache and geo-failover recipes. The non-obvious call: no per-client split. RedisJsonTemplate/JsonOperations is client-agnostic and identical whether Jedis or Lettuce backs the connection — the clients diverge only in internal converters/path types below the API surface, with full feature parity. So one set of examples serves both. Examples are inline java (not runnable TCE snippets) because the feature isn't in the client example repos yet, and a bannerText flags the API as unreleased and subject to change. Learned: SDR JSON template API is unified across Jedis/Lettuce; docs based on an unmerged PR Directive: keep the JSON examples client-agnostic — do not split into Jedis vs Lettuce variants Recheck: when spring-data-redis#3390 merges and ships — re-verify method signatures, bean/serializer wiring, and convert examples to runnable TCE doctests Gaps: code examples untested; signatures and API shape read from an in-progress, still-reviewed diff Ticket: DOC-6829 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a follow up pull request to #3327 that handles the new JSON API for Spring Data Redis.
It builds upon the command layer from the referenced PR and adds API for the template layer.
Notes:
BoundJsonOperationsis not included yet. Once a version ofJsonOperationsis approved, the bound operations can be included in this branch.RedisJsonTemplateinitially felt like a good idea. It creates a separation of concerns, which is nice because the new JSON API does not pair well with a specificVtype unlike the other data types inRedisTemplate. However,RedisJsonTemplatefeels a little off and maybe a more elegant solution could be derived. It feels more like a configuration class. Maybe we could rename it toRedisJsonConfig. This would also promote developers to injectJsonOperationsdirectly.RedisJsonSerializerdoes not extendRedisSerializer, due to it bringing a lot of functionality that doesn't add any value to the JSON serialization. Furthermore, keeping them separate gives separation of concerns. Also Jedis and Lettuce do not provide byte[] APIs for the JSON commands in Redis, thus makingRedisSerializerincompatible.