1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

CMake cleanup (#2885)

* 🔥 clean CMake files and Makefile
* 💡 update documentation
This commit is contained in:
Niels Lohmann
2021-07-22 09:25:55 +02:00
committed by GitHub
parent eba82ecd62
commit 19a5e12136
7 changed files with 72 additions and 468 deletions

View File

@ -1,4 +1,4 @@
# Parsing and exceptions
# Parsing and Exceptions
When the input is not valid JSON, an exception of type [`parse_error`](../../home/exceptions.md#parse-errors) is thrown. This exception contains the position in the input where the error occurred, together with a diagnostic message and the last read input token. The exceptions page contains a [list of examples for parse error exceptions](../../home/exceptions.md#parse-errors). In case you process untrusted input, always enclose your code with a `#!cpp try`/`#!cpp catch` block, like