aboutsummaryrefslogtreecommitdiff
path: root/tests/encode.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename encode/decode scripts to lua2json/json2luaMark Pulford2012-01-031-28/+0
|
* Convert common.lua into cjson-misc moduleMark Pulford2012-01-031-2/+2
|
* Add support for Lua 5.2 and cjson.newMark Pulford2011-12-301-2/+2
| | | | | | | | | | | | | | Update all Lua scripts to use new module init style everywhere: local json = require "cjson" Lua CJSON does not register a global table under Lua 5.2. The global table can be disabled under Lua 5.1 with DISABLE_CJSON_GLOBAL. Other changes: - Store CJSON configuration as an upvalue for each function. - Add "cjson.new" function to create another module table with a separate configuration. - Add _NAME and _VERSION variables.
* Add support for stdin to encode.lua/decode.luaMark Pulford2011-05-161-6/+8
|
* Add command line encode/decode utilitiesMark Pulford2011-05-161-0/+26