Skip to content

Instantly share code, notes, and snippets.

@antirez
Created February 3, 2015 16:59
Show Gist options
  • Save antirez/759d189e80220742a4e3 to your computer and use it in GitHub Desktop.
Save antirez/759d189e80220742a4e3 to your computer and use it in GitHub Desktop.
set foo '{"some_field":"1"}'
eval "return cjson.decode(redis.call('get','foo'))['some_field']" 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment