Skip to content

Parse type std::unordered_map is throwing error #2877

Discussion options

You must be logged in to vote

I found problem:

All need be string:

"data": {
        "d1": "v1",
        "d2": "true"
},

And not:

"data": {
        "d1": "v1",
        "d2": true
},

Thanks.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nlohmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant