Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cargo-json.hpp File Reference

Go to the source code of this file.

Namespaces

 cargo
 

Functions

template<class Cargo >
void cargo::loadFromJsonString (const std::string &jsonString, Cargo &visitable)
 Fills the visitable with data stored in the json string. More...
 
template<class Cargo >
std::string cargo::saveToJsonString (const Cargo &visitable)
 Creates a string representation of the visitable in json format. More...
 
template<class Cargo >
void cargo::loadFromJsonFile (const std::string &filename, Cargo &visitable)
 Loads the visitable from a json file. More...
 
template<class Cargo >
void cargo::saveToJsonFile (const std::string &filename, const Cargo &visitable)
 Saves the visitable in a json file. More...
 

Detailed Description