How to import cjson module in an spring or android project? #99

Closed
opened 2022-02-18 08:29:25 +00:00 by OneCodeMonkey · 2 comments
OneCodeMonkey commented 2022-02-18 08:29:25 +00:00 (Migrated from github.com)
No description provided.
OneCodeMonkey commented 2022-02-18 08:58:36 +00:00 (Migrated from github.com)

I got a built-in implementation of json decode, for those friends who are not convenient to install cjson module, you could try to put my function in your lua script for simple decoding situations.

https://github.com/OneCodeMonkey/lua-tutorials/blob/master/json/jsonUtil.lua

Caution: I didn't do full testing for this implementation, so please be careful for production usage... :)

I got a built-in implementation of json decode, for those friends who are not convenient to install cjson module, you could try to put my function in your lua script for simple decoding situations. [https://github.com/OneCodeMonkey/lua-tutorials/blob/master/json/jsonUtil.lua](https://github.com/OneCodeMonkey/lua-tutorials/blob/master/json/jsonUtil.lua) Caution: I didn't do full testing for this implementation, so please be careful for production usage... :)
OneCodeMonkey commented 2022-02-21 11:52:46 +00:00 (Migrated from github.com)
Another implementation: https://raw.githubusercontent.com/rxi/json.lua/master/json.lua
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-autonomous-connection/luaj#99