mirror of
https://github.com/nlohmann/json.git
synced 2026-09-05 07:55:06 +00:00
📝 fix docs (#5217)
This commit is contained in:
@@ -21,8 +21,6 @@ the stream `i`
|
||||
## Exceptions
|
||||
|
||||
- Throws [`parse_error.101`](../home/exceptions.md#jsonexceptionparse_error101) in case of an unexpected token.
|
||||
- Throws [`parse_error.102`](../home/exceptions.md#jsonexceptionparse_error102) if `to_unicode` fails or surrogate error.
|
||||
- Throws [`parse_error.103`](../home/exceptions.md#jsonexceptionparse_error103) if `to_unicode` fails.
|
||||
|
||||
## Complexity
|
||||
|
||||
@@ -32,6 +30,9 @@ Linear in the length of the input. The parser is a predictive LL(1) parser.
|
||||
|
||||
A UTF-8 byte order mark is silently ignored.
|
||||
|
||||
Invalid Unicode escapes and unpaired surrogates in the input are reported as
|
||||
[`parse_error.101`](../home/exceptions.md#jsonexceptionparse_error101) with a detailed message.
|
||||
|
||||
!!! warning "Deprecation"
|
||||
|
||||
This function replaces function `#!cpp std::istream& operator<<(basic_json& j, std::istream& i)` which has
|
||||
@@ -61,4 +62,4 @@ A UTF-8 byte order mark is silently ignored.
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 1.0.0. Deprecated in version 3.0.0.
|
||||
- Added in version 1.0.0.
|
||||
|
||||
Reference in New Issue
Block a user