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

Function parse

Source/Utils/json.hpp:23186–23194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

FromJsonMethod · 0.85
FromJsonMethod · 0.85
LoadCampaignMethod · 0.85
operator "" _jsonFunction · 0.85
parseMethod · 0.85
initMethod · 0.85

Calls 3

parserFunction · 0.70
parseMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected