MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / parse

Function parse

lesson6-Segmentation/json.hpp:23187–23195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23185 JSON_HEDLEY_WARN_UNUSED_RESULT
23186 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))
23187 static basic_json parse(detail::span_input_adapter&& i,
23188 const parser_callback_t cb = nullptr,
23189 const bool allow_exceptions = true,
23190 const bool ignore_comments = false)
23191 {
23192 basic_json result;
23193 parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
23194 return result;
23195 }
23196
23197 /*!
23198 @brief check if the input is valid JSON

Callers 1

operator "" _jsonFunction · 0.85

Calls 3

parseMethod · 0.80
parserFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected