nlohmann::basic_json::accept

check if the input is valid JSON

Synopsis

Declared in <nlohmann/json.hpp>
template<typename IteratorType>
static
bool
accept(
    IteratorType first,
    IteratorType last,
    bool const ignore_comments = false,
    bool const ignore_trailing_commas = false);


Created with MrDocs