create a JSON value from an input in BJData format
Declared in <nlohmann/json.hpp>
template<typename InputType>
[[nodiscard]]
static
basic_json
from_bjdata(
InputType&& i,
bool const strict = true,
bool const allow_exceptions = true);
a JSON value representing the input, or a discarded value if allow_exceptions is false and a parse error occurred
The return value should not be discarded.
| Name | Description |
|---|---|
| i | an input in BJData format convertible to an input adapter |
| strict | whether to expect the input to be consumed until EOF |
| allow_exceptions | whether to throw exceptions in case of a parse error |