-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Hi, how do I store the result of
?? flags = parsed.at("flags");
Into a std::map or std::vector so that I can loop them.
With this .json file:
{
"width": 640, "height": 480,
"flags": {
"Ph": 1, "En": 0, "Fr": 1
}
}Specifically i want to for-loop on the ?? return type and have access to the strings (i.e "Ph", "En", etc) and the associated values
I don't want to use auto
Sent from my HUAWEI GR5 2017 using FastHub
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation