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:
@ -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.
|
||||
|
Reference in New Issue
Block a user