Last active
November 13, 2019 03:14
-
-
Save ShaneTsui/f7003bdb2625d3311d0b640b262bb34d to your computer and use it in GitHub Desktop.
translate rapidjson to std::string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rapidjson::StringBuffer sb; | |
| rapidjson::Writer<rapidjson::StringBuffer> writer(sb); | |
| metadata->Accept(writer); | |
| std::string s = sb.GetString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment