mirror of
https://github.com/nlohmann/json.git
synced 2026-10-10 08:27:13 +00:00
explicit operator bool meant "refers to a value", which silently differs from what a basic_json converts to. Use !v.is_discarded() instead. Signed-off-by: Niels Lohmann <mail@nlohmann.me>