Recently, there is a business that converts json into lua table format and runs it in lua. Because I don’t know lua, I can only use python to convert it. Is there any such library?
{
"B": {
"Level": true,
"ID": 772,
"tLevel": 2,
"Type": 1,
},
}
Convert to this
{["B"]={["Level"]=true,["ID"]=772,["TLevel"]=2,["Type"]=1,}}
http://blog.csdn.net/liangneo...