MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / parse

Function parse

3rd/nlohmann_json/single_include/nlohmann/json.hpp:24449–24457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24447 JSON_HEDLEY_WARN_UNUSED_RESULT
24448 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))
24449 static basic_json parse(detail::span_input_adapter&& i,
24450 const parser_callback_t cb = nullptr,
24451 const bool allow_exceptions = true,
24452 const bool ignore_comments = false)
24453 {
24454 basic_json result;
24455 parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
24456 return result;
24457 }
24458
24459 /*!
24460 @brief check if the input is valid JSON

Callers 1

operator "" _jsonFunction · 0.70

Calls 3

parserFunction · 0.70
parseMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected