Documentation Container Overview Doesn't Reference Const Methods #1579
Labels
documentation
state: stale
the issue has not been updated in a while and will be closed automatically soon unless it is updated
At https://nlohmann.github.io/json/ there is a table labeled "container overview" that is very helpful for learning the library.
I trusted the
operator[]
documentation forobject
but ran into a crash because I was using the const operator instead of the one documented (I tried passing a non-present key, expecting null back).This could have been deftly evaded for me if that table had included links to the const methods too.
The text was updated successfully, but these errors were encountered: