Skip to content
This repository has been archived by the owner on Nov 24, 2017. It is now read-only.

inexorgame-obsolete/cjson_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cjson_sample API

This is an example using cJSON to proccess JSON data. The API consists of 3 elements:

  • package (holds the package.json data)
  • getProperty (used to fetch data)
  • setProperty (used to update properties)

Both functions are overloaded and provide the following options:

getProperty

Parameters Returns
string cat vector of cJSON* objects
string cat, string property single cJSON* object

setProperty

Parameters Updates
string cat, string property, value single property on a subcategory
string cat, string property, vector<cJSON*> list of cJSON* objects on a subcategory
string cat, vector<cJSON*> list of cJSON* objects on a category
string cat, cJSON* single property on a category

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published