Announcing release of json2lua v0.3.3.
This is a command-line tool to convert JSON data to Lua.
Usage:
`json2lua [options] < data.json > data.lua`
Options:
-h Print help
-v Print script version
-n Do not pretty-print Lua code (default: do pretty-print)
-wN Set maximum pretty-print width to N chars (default: 80)
-iStr Set pretty-print indent to string (default: two spaces, ' ')
-N Force object keys to be transformed to numbers
whenever possible (default: off)
-e Do not print terminating EOL (default: do print)
-r Prefix data with 'return' (default: off)
This is a bugfix release, fixing compatibility with luajson v1.3+ See
the list of changes here:
https://github.com/agladysh/json2lua/blob/v0.3.3/HISTORY
Rockspec for the new version:
https://github.com/agladysh/json2lua/raw/master/rockspec/json2lua-0.3.3-1.rockspec
Alexander.
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers