Skip to content

parse vs accept #3522

Answered by nlohmann
bajaj689 asked this question in Q&A
Jun 8, 2022 · 2 comments · 13 replies
Discussion options

You must be logged in to vote

accept is to check validity, so you only get a boolean as result.

parse is to get a basic_json object from the input.

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
7 replies
@bajaj689
Comment options

@falbrechtskirchinger
Comment options

@bajaj689
Comment options

@falbrechtskirchinger
Comment options

@bajaj689
Comment options

Answer selected by nlohmann
Comment options

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

@lefebvresam
Comment options

@natri0
Comment options

@nlohmann
Comment options

@lefebvresam
Comment options

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