C++ JSON Serialization, Proto-buf style -


i want serialize several c++ objects json, , deserialize them back. since c++ lacking reflection, can't done automatically. need somehow tell serializer data member goes json property.

i can c++, i'd rather use protobuf's message specify mapping. out of many many json c++ libraries out there, there 1 support sort of metadata allows me map serialization process without implementing myself?

you can use json cpp or c files , use them api. have done previous project. c++ not come inbuilt json support java. include files , use json function apis. can build separately , link statically program. go json home page language wise files:

http://json.org/

for cpp files: http://sourceforge.net/projects/jsoncpp/

i think moved git repo. link present there.

hope helps.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -