jsonSet method
jsonObjkeys todo待解决 jsonSet
Implementation
// Future<JsonObjkeys> jsonObjkeys(
// String key, {
// String path = '\$',
// }) async {
// List<RespType<dynamic>>? result = await _runWithRetryNew(() async {
// (await RespCommandsTier1(_client!).jsonObjkeys(
// key: key,
// path: path,
// ))
// .toArray()
// .payload;
// });
//
// return JsonObjkeys.fromResult(result);
// }
/// jsonSet
Future<void> jsonSet({
required String key,
String path = '\$',
required dynamic value,
bool nx = false,
bool xx = false,
}) async {
await _runWithRetryNew(() async {
(await RespCommandsTier1(_client!)
.jsonSet(key: key, path: path, value: value, nx: nx, xx: xx))
.toSimpleString();
});
return null;
}