nlohmann::basic_json<>::from_ubjson

Synopsis

Declared in <nlohmann/json.hpp>

template<typename T>
[[nodiscard, deprecated]]
static
basic_json<>
from_ubjson(
    T const* ptr,
    std::size_t len,
    bool const strict = true,
    bool const allow_exceptions = true);

WARNING

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

Return Value

NOTE

The return value should not be discarded.