json::value(const json_pointer&, ValueType) requires exceptions to return the default value. #440
Labels
confirmed
solution: wontfix
the issue will not be fixed (either it is impossible or deemed out of scope)
state: help needed
the issue needs help to proceed
json::value(const json_pointer&, ValueType) is defined as:
If exceptions are disabled,
JSON_TRY
turns intoif (true)
andJSON_CATCH
turns intoif (false)
, this means that the default value will never be returned if exceptions are turned off.The text was updated successfully, but these errors were encountered: