MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / basic_json parse

Function basic_json parse

Source/Utils/json.hpp:23172–23182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23170 */
23171 template<typename IteratorType>
23172 JSON_HEDLEY_WARN_UNUSED_RESULT
23173 static basic_json parse(IteratorType first,
23174 IteratorType last,
23175 const parser_callback_t cb = nullptr,
23176 const bool allow_exceptions = true,
23177 const bool ignore_comments = false)
23178 {
23179 basic_json result;
23180 parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result);
23181 return result;
23182 }
23183
23184 JSON_HEDLEY_WARN_UNUSED_RESULT
23185 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))

Callers

nothing calls this directly

Calls 3

input_adapterFunction · 0.85
parserFunction · 0.70
parseMethod · 0.45

Tested by

no test coverage detected