nlohmann::basic_json::from_bson

Synopsis

Declared in <nlohmann/json.hpp>

[[nodiscard, deprecated]]
static
basic_json
from_bson(
    detail::span_input_adapter&& i,
    bool const strict = true,
    bool const allow_exceptions = true);

WARNING

Deprecated: Since 3.8.0; use from_bson(ptr, ptr + len). Use of this entity is allowed but discouraged.

Return Value

NOTE

The return value should not be discarded.