add JSON encode/decode library to the environment of EVAL scripts #1009

Closed
qbolec opened this Issue Mar 17, 2013 · 1 comment

Comments

Projects
None yet
3 participants

qbolec commented Mar 17, 2013

It would make life easier if I could just serialize any data I want to return from script, without having to attach my own implementation of JSON.encode to my script.

Contributor

badboy commented Mar 17, 2013

Redis bundles the cjson library within its Lua environment. Just use cjson.encode and cjson.decode

@mattsta mattsta closed this May 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment