1
0
mirror of https://github.com/nlohmann/json synced 2024-11-25 21:30:06 +00:00
This commit is contained in:
Dimitris Apostolou 2022-01-05 14:35:14 +02:00 committed by GitHub
parent 6cd68ebd12
commit b785783440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ Constant.
!!! note
When a value is discarded by a callback function (see [`parser_callback_t`](parser_callback_t.md)) during parsing,
then it is removed when it is part of a structured value. For instance, if the second value of an array is discared,
then it is removed when it is part of a structured value. For instance, if the second value of an array is discarded,
instead of `#!json [null, discarded, false]`, the array `#!json [null, false]` is returned. Only if the top-level
value is discarded, the return value of the `parse` call is discarded.