From 75ca7b2148b1184a12a0ed0be3eba52eccfe09c8 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Sat, 6 Jul 2024 13:44:14 +0300 Subject: [PATCH] refactoring --- .../main/java/org/redisson/client/protocol/RedisCommands.java | 1 + redisson/src/main/java/org/redisson/codec/JsonCodec.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java b/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java index 3a0548a81..5da59be97 100644 --- a/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java +++ b/redisson/src/main/java/org/redisson/client/protocol/RedisCommands.java @@ -849,6 +849,7 @@ public interface RedisCommands { RedisStrictCommand JSON_DEL_BOOLEAN = new RedisStrictCommand<>("JSON.DEL", new BooleanReplayConvertor()); + RedisStrictCommand JSON_MSET = new RedisStrictCommand<>("JSON.MSET", new VoidReplayConvertor()); RedisStrictCommand JSON_SET = new RedisStrictCommand<>("JSON.SET", new VoidReplayConvertor()); RedisStrictCommand JSON_MERGE = new RedisStrictCommand<>("JSON.MERGE", new VoidReplayConvertor()); RedisStrictCommand JSON_SET_BOOLEAN = new RedisStrictCommand<>("JSON.SET", new BooleanNotNullReplayConvertor()); diff --git a/redisson/src/main/java/org/redisson/codec/JsonCodec.java b/redisson/src/main/java/org/redisson/codec/JsonCodec.java index 7d97f053f..ff1c55b4b 100644 --- a/redisson/src/main/java/org/redisson/codec/JsonCodec.java +++ b/redisson/src/main/java/org/redisson/codec/JsonCodec.java @@ -19,7 +19,7 @@ import org.redisson.client.protocol.Decoder; import org.redisson.client.protocol.Encoder; /** - * Json codec interface. + * Json codec interface for RJsonBucket object. * * @author Nikita Koksharov *