Skip to content

quannv108/CCJsonUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCJsonUtils

parse JSON String to cocos2d::Value encode cocos2d::Value into JSON string

#JsonUtil class support 2 common function to convert between json string & cocos2d::Value /*parse an object to JSON string * support string, float, integer, double, array, dictionary, bool * @return JSON string */

std::string JSONStringFromValue(const cocos2d::Value& value);


/** parse a string to JSON
 *  @return JSON Object
 */
cocos2d::Value valueFromString(const std::string& fileContent);

About

parse Json String to cocos2d::Value

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages