-
amiralizadehitLikes 0Problem Description
Hi
Considering Cocos2d-x Networking series that have been released in youtube (https://youtu.be/yrPwK1Qt-II), What if we have Json that contains an array of jsons in?
in this case what’s the solution ? how can we get that array’s data (which are also jsons) out of primary json?
-
Sonar Systems adminLikes 0
Just loop through it multiple times.
-
amiralizadehitLikes 0
Thank U,
but what if we want to parse a bool value out of receivved json , cause there is no Json_getBool
-
Sonar Systems adminLikes 0
Try getInt and you should be able to distinguish between a true and a false value.
Login to reply