string wormhole; wormhole = jsonPayload.dump(); How can I convert std::string to json object again? When I use 'auto x = json::parse(wormhole.c_str()) ', the exception was occurred.
string wormhole;
wormhole = jsonPayload.dump();
How can I convert std::string to json object again?
When I use 'auto x = json::parse(wormhole.c_str()) ', the exception was occurred.