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

Function basic_json parse

include/behaviortree_cpp/contrib/json.hpp:23316–23325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23314 /// @sa https://json.nlohmann.me/api/basic_json/parse/
23315 template<typename InputType>
23316 JSON_HEDLEY_WARN_UNUSED_RESULT
23317 static basic_json parse(InputType&& i,
23318 const parser_callback_t cb = nullptr,
23319 const bool allow_exceptions = true,
23320 const bool ignore_comments = false)
23321 {
23322 basic_json result;
23323 parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions, ignore_comments).parse(true, result);
23324 return result;
23325 }
23326
23327 /// @brief deserialize from a pair of character iterators
23328 /// @sa https://json.nlohmann.me/api/basic_json/parse/

Callers

nothing calls this directly

Calls 4

input_adapterFunction · 0.85
moveFunction · 0.85
parseMethod · 0.80
parserFunction · 0.70

Tested by

no test coverage detected