There is any function for decode a json in Codos2d-x LUA?
If there isn’t one, which library do you recomend me?
Thank you
There is any function for decode a json in Codos2d-x LUA?
If there isn’t one, which library do you recomend me?
Thank you
I’m sorry, but are you banned in google?
quick search results:
and so on…
Yeah yeah,sorry sorry but you haven’t answered any of my questions.
“There is any function for decode a json in Codos2d-x LUA?”
You haven’t answered this
“which library do you recomend me?”
Give a list is not the same of recommend one.
I am using dkjson, but still I wanted to know if there is a recommended library for something or if there are native JSON operations in cocos2d-x.
The cocos2d-x V3.0 intergate the JSON for Lua form luaforge,and the this library maybe have effect shortcoming.Do you have any good Suggestions?Thanks.
I’m using JSON4Lua version 0.9.5 (https://github.com/luaforge/json/blob/master/trunk/json/json.lua). It works great and it’s easy to use. I guess the version bundled with cocos2dx is 0.9.4.
Hi @Guepard ,
on the previous project we used
JSON Encoder and Parser for Lua 5.1
Copyright 2007 Shaun Brown (http://www.chipmunkav.com).
Json.zip (3.4 KB)
Thank you to everyone 