mirror of
https://github.com/nlohmann/json.git
synced 2025-01-18 23:35:13 +08:00
📝 add note to outdated exceptions
This commit is contained in:
parent
6f551930e5
commit
ca9a1f2fd4
@ -188,6 +188,10 @@ JSON uses the `\uxxxx` format to describe Unicode characters. Code points above
|
||||
parse error at 14: missing or wrong low surrogate
|
||||
```
|
||||
|
||||
!!! note
|
||||
|
||||
This exception is not used any more. Instead [json.exception.parse_error.101](#jsonexceptionparse_error101) with a more detailed description is used.
|
||||
|
||||
### json.exception.parse_error.103
|
||||
|
||||
Unicode supports code points up to 0x10FFFF. Code points above 0x10FFFF are invalid.
|
||||
@ -198,6 +202,10 @@ Unicode supports code points up to 0x10FFFF. Code points above 0x10FFFF are inva
|
||||
parse error: code points above 0x10FFFF are invalid
|
||||
```
|
||||
|
||||
!!! note
|
||||
|
||||
This exception is not used any more. Instead [json.exception.parse_error.101](#jsonexceptionparse_error101) with a more detailed description is used.
|
||||
|
||||
### json.exception.parse_error.104
|
||||
|
||||
[RFC 6902](https://tools.ietf.org/html/rfc6902) requires a JSON Patch document to be a JSON document that represents an array of objects.
|
||||
|
Loading…
Reference in New Issue
Block a user