📝 add note to outdated exceptions

This commit is contained in:
Niels Lohmann 2021-03-24 12:46:34 +01:00
parent 6f551930e5
commit ca9a1f2fd4
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -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.