ivan.cuevas Posted October 5, 2015 Share Posted October 5, 2015 Hi, Looks like there is no other way to know the Json object type apart of making some if-else structure using the "Json::isXXX()" methods. I would be good to add access to Json::type (Json::getType()) attribute and the associated enumeration { NONE , BOOL, NUMBER, STRING, ARRAY, OBJECT } to replace those "if-elseif" by a switch stament. Thanks. 1 Link to comment
silent Posted October 19, 2015 Share Posted October 19, 2015 Hi Iván, Thank you for the suggestion. Added to our internal TODO list with low priority (no ETA, unfortunately). 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts