nlohmann::basic_json::from_bjdata

create a JSON value from an input in BJData format (iterator pair, or iterator+sentinel pair for C++20 ranges support)

Synopsis

Declared in <nlohmann/json.hpp>

template<
    typename IteratorType,
    typename SentinelType = IteratorType>
requires detail::can_compare_ne<IteratorType, SentinelType>::value
[[nodiscard]]
static
basic_json
from_bjdata(
    IteratorType first,
    SentinelType last,
    bool const strict = true,
    bool const allow_exceptions = true);

Return Value

a class to store JSON values

NOTE

The return value should not be discarded.