February 2018
Intermediate to advanced
382 pages
11h 33m
English
Create a Lua script, updateJson.lua, and put it into the Java resources folder. The content of the Lua script can be found in the Using Lua recipe in Chapter 3, Data Features.
Create a Java class, JedisLuaDemo:

The output of the program is:
users:id:992452: {"grade":"C","name":"Tina","sex":"female"}
Read now
Unlock full access