jsonClear method
jsonClear
Implementation
Future<int> jsonClear(
String key, {
String path = '\$',
}) async {
Object result = await _runWithRetryNew(() async {
return (await RespCommandsTier1(_client!)
.jsonClear(key: key, path: path));
});
if (result is RespType2<dynamic>) {
return result.toInteger().payload;
}
return (result as RespType3<dynamic>).toInteger().payload;
}