MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / parse

Function parse

include/behaviortree_cpp/contrib/json.hpp:23344–23352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23342 JSON_HEDLEY_WARN_UNUSED_RESULT
23343 JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))
23344 static basic_json parse(detail::span_input_adapter&& i,
23345 const parser_callback_t cb = nullptr,
23346 const bool allow_exceptions = true,
23347 const bool ignore_comments = false)
23348 {
23349 basic_json result;
23350 parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
23351 return result;
23352 }
23353
23354 /// @brief check if the input is valid JSON
23355 /// @sa https://json.nlohmann.me/api/basic_json/accept/

Callers 9

vector<int>>Method · 0.85
vector<double>>Method · 0.85
vector<bool>>Method · 0.85
string>>Method · 0.85
convertFromJSONFunction · 0.85
serverLoopMethod · 0.85
operator "" _jsonFunction · 0.85
fuzzJsonOperationsMethod · 0.85

Calls 3

parseMethod · 0.80
parserFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected