Skip to content

Help Needed #3607

Discussion options

You must be logged in to vote

tempCardString – despite its name – isn't a string. Try

auto tempCardObj = json::parse(tempCardString.get_ref<const std::string &>());

or

auto tempCardObj = json::parse(tempCardString.get<std::string>());

instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SpencerHD2020
Comment options

Answer selected by SpencerHD2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants