mirror of
https://github.com/nlohmann/json.git
synced 2026-02-13 13:02:22 +00:00
You can now pass a boolean "allow_exceptions" to the parse functions. If it is false, no exceptions are thrown in case of a parse error. Instead, parsing is stopped at the first error and a JSON value of type "discarded" (check with is_discarded()) is returned.