Python converts json to lua table
伊谢尔伦
伊谢尔伦 2017-05-18 10:59:21
0
1
664

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,}}
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!