How to read JSON with moon?

4

I would like to know how to read this JSON below through the Lua language.

json = '{"nome" : "Wallace de Souza"}'
    
asked by anonymous 10.12.2015 / 13:24

1 answer

2

This link is for a pure moon lib [ link to do the JSON encode / decode, already I use it in production and it works extremely well, besides the code is commented and is very simple to understand, I recommend the use, to "install" just save the file in the folder of your project and use 'require' normally.     

04.02.2016 / 03:51