Re: [Cppcms-users] Howto use JSON
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-07-29 12:54:57
|
Read documentation of json::value http://art-blog.no-ip.info/cppcms_ref_v0_99_1/classcppcms_1_1json_1_1value.html In order to understand how to save and load data to and from json objects. And take a look on this discussion. http://permalink.gmane.org/gmane.comp.lib.cppcms.user/72 For "native" conversion between C++ objects and json objects. If you will have more questions feel free to ask. Artyom > > another question: How can I use the json methods for my own purpose? > I've created a struct with some std::string members and tried > > cppcms::json::value value; > > value.set("",mystruct); > > The compiler claimed that there was an "incomplete type used in nested > name specifier" cppcms::json::traits<mystruct_t>. > |