-
- Downloads
json: let configure map->object conversion with compress parameter
If doing direct conversion of map -> json, it is not possible to specify "JSON_object" tag in class comments. Therefore now one can use compact parameter 5 for that: std::map<string,int> obj; obj["name"]=7; auto json = TBufferJSON::ToJSON(&obj,5);
Loading
Please register or sign in to comment