nlohmann::basic_json<>::parse

Synopsis

Declared in <nlohmann/json.hpp>

[[nodiscard, deprecated]]
static
basic_json<>
parse(
    detail::span_input_adapter&& i,
    parser_callback_t cb = nullptr,
    bool const allow_exceptions = true,
    bool const ignore_comments = false,
    bool const ignore_trailing_commas = false);

WARNING

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

Return Value

NOTE

The return value should not be discarded.