lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




Dirk Laurie <dirk.laurie@gmail.com>于2017年4月15日周六 上午5:45写道:
I used to like lua-cjson but it does not sit well with Lua 5.3.
Whenever a string could represent a number, it converts
it to a float, so that every integer prints with a .0 at the end.

Any recommendations for a module that works under Lua 5.3
and does not have this annoying feature?


You can use my fork :  https://github.com/cloudwu/lua-cjson

My pull request : https://github.com/mpx/lua-cjson/pull/22