Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > local cjson = require "cjson"
- > value = { true, { foo = "bar" } }
- > json_text = cjson.encode(value)
- stdin:1: attempt to index a nil value (global 'cjson')
- stack traceback:
- stdin:1: in main chunk
- [C]: in ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement