This commit is contained in:
nlohmann
2026-09-25 18:19:13 +00:00
parent 10e005271b
commit ac7a671836
283 changed files with 865 additions and 527 deletions
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -62,7 +62,7 @@ The SAX event lister must follow the interface of [`json_sax`](https://json.nloh
`format` (in) : the format to parse (JSON, CBOR, MessagePack, or UBJSON) (optional, `input_format_t::json` by default), see [`input_format_t`](https://json.nlohmann.me/api/basic_json/input_format_t/index.md) for more information
`strict` (in) : whether the input has to be consumed completely (optional, `true` by default)
`strict` (in) : whether the input has to be consumed completely (optional, `true` by default); when `false` and the input is a `std::istream`, the character that terminates a number is consumed unless [`JSON_PRECISE_STREAM_POSITION`](https://json.nlohmann.me/api/macros/json_precise_stream_position/index.md) is defined to `1`; see [`operator>>`](https://json.nlohmann.me/api/operator_gtgt/#notes)
`ignore_comments` (in) : whether comments should be ignored and treated like whitespace (`true`) or yield a parse error (`false`); (optional, `false` by default)
@@ -286,6 +286,7 @@ result: false
- Added `ignore_trailing_commas` in version 3.13.0.
- Extended container support (1) to include types with lvalue-only ADL `begin`/`end` (matching `std::begin`/`std::end` semantics) in version 3.13.0.
- Extended overload (2) to accept heterogeneous iterator+sentinel pairs (C++20 ranges support) in version 3.13.0.
- `JSON_PRECISE_STREAM_POSITION` added in version 3.13.0 to optionally leave a `std::istream` positioned right after the parsed value when `strict` is `false`.
Deprecation