just one example how to read or write json by uisng jsoncpp library