mirror of
https://github.com/nlohmann/json.git
synced 2026-10-03 13:10:33 +00:00
deploy: 465407f3ce
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user