I am storing data in redis using JCA(java caching api) where key is String and value is Object which is JSON string. I have a requirement to perform partial update to cache value instead of retrieving cache value using key and then modify attribute and perform put operation with latest cache value
{
"attribute1" : "value1",
"attribute2 " : [
{
"attribute3" : "value3"
}
]
}
Above is sample json format. As explained above is it possible to update value of attribute1
from value1
to value2
without geting cache value using key in redis