-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
solution: 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
Is there a way to convert a string value to a number value or vice versa?
For example:
{
"number": "9"
}
I figured this word work, but it doesn't:
j.at( "number" ).get<int>();
Do I just have to grab it as a string and convert myself, or is there a better way?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation