1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-07 23:41:10 +03:00

📝 add more API documentation

This commit is contained in:
Niels Lohmann
2020-08-14 10:48:32 +02:00
parent 772f37c12d
commit 6674561d6a
10 changed files with 150 additions and 9 deletions

View File

@ -454,7 +454,6 @@ Cannot get value for iterator: Either the iterator belongs to a null value or it
[json.exception.invalid_iterator.214] cannot get value
```
## Type errors
This exception is thrown in case of a type error; that is, a library function is executed on a JSON value whose type does not match the expected semantics.
@ -684,7 +683,6 @@ The dynamic type of the object cannot be represented in the requested serializat
Encapsulate the JSON value in an object. That is, instead of serializing `#!json true`, serialize `#!json {"value": true}`
## Out of range
This exception is thrown in case a library function is called on an input parameter that exceeds the expected range, for instance in case of array indices or nonexisting object keys.