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

Function basic_json parse

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

Source from the content-addressed store, hash-verified

6894 */
6895 template<typename InputType>
6896 JSON_HEDLEY_WARN_UNUSED_RESULT
6897 static basic_json parse(InputType&& i,
6898 const parser_callback_t cb = nullptr,
6899 const bool allow_exceptions = true,
6900 const bool ignore_comments = false)
6901 {
6902 basic_json result;
6903 parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions, ignore_comments).parse(true, result);
6904 return result;
6905 }
6906
6907 /*!
6908 @brief deserialize from a pair of character iterators

Callers

nothing calls this directly

Calls 3

parserFunction · 0.70
input_adapterFunction · 0.50
parseMethod · 0.45

Tested by

no test coverage detected