In this tutorial, we will learn about how to get serialized version of value stored at the key in redis datastore by using a COMMAND – DUMP in redis-cli. The syntax of redis DUMP command is as follows :-
Syntax :-
redis host:post> DUMP <key name>
Output :-
- string representing serialized version of value
Example :-
References :-
- DUMP Command Docs
That’s all for how to get serialized value of a key in redis datastore. If you liked it, please share your thoughts in comments section and share it with others too.