[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [ANN] lua2json 0.1
- From: Alexander Gladysh <agladysh@...>
- Date: Wed, 26 Jan 2011 02:56:44 +0300
Hi, all!
Announcing lua2json 0.1: A command-line tool to convert Lua to JSON
License: MIT
Usage:
`lua2json [options] < data.lua > data.json`
Options:
-h Print help
-v Print script version
-O Force tables to be serialized as objects
(default: off)
-e Do not print terminating EOL (default: do print)
-r Prefix "return " to the input before loading (default: do not prefix)
Homepage:
https://github.com/agladysh/lua2json/
Rockspec:
https://github.com/agladysh/lua2json/raw/master/rockspec/lua2json-0.1-1.rockspec
See also:
https://github.com/agladysh/json2lua/
Alexander.