Skip to content

no matching overloaded function found when implementing from_json function #3280

Answered by nlohmann
warrenbocphet asked this question in Q&A
Discussion options

You must be logged in to vote

The from_json function must be defined in the same namespace as the type, not nlohmann.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by warrenbocphet
Comment options

You must be logged in to vote
2 replies
@falbrechtskirchinger
Comment options

@SylvainFogale
Comment options

Comment options

You must be logged in to vote
2 replies
@nlohmann
Comment options

@falbrechtskirchinger
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #3279 on January 18, 2022 15:15.