Skip to content

null check for operator[] for const json object #2774

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

You must be logged in to vote

Use at() or contains().

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Wokarol
Comment options

@nlohmann
Comment options

@jjcasmar
Comment options

@nlohmann
Comment options

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
3 participants