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

Function parse

3rd/nlohmann_json/include/nlohmann/json.hpp:6948–6956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6946 JSON_HEDLEY_WARN_UNUSED_RESULT
6947 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))
6948 static basic_json parse(detail::span_input_adapter&& i,
6949 const parser_callback_t cb = nullptr,
6950 const bool allow_exceptions = true,
6951 const bool ignore_comments = false)
6952 {
6953 basic_json result;
6954 parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
6955 return result;
6956 }
6957
6958 /*!
6959 @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