title tagline lua-cjson JSON encoding & decoding local json = require'cjson' Documentation It's here. NOTE: Added option encode_empty_table_as_array, enabled by default, to encode empty tables as [] instead of {}.