Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. > local cjson = require "cjson"
  2. > value = { true, { foo = "bar" } }
  3. > json_text = cjson.encode(value)
  4. stdin:1: attempt to index a nil value (global 'cjson')
  5. stack traceback:
  6. stdin:1: in main chunk
  7. [C]: in ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement