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

Method accept

include/behaviortree_cpp/contrib/json.hpp:12321–12325  ·  view source on GitHub ↗

! @brief public accept interface @param[in] strict whether to expect the last token to be EOF @return whether the input is a proper JSON text */

Source from the content-addressed store, hash-verified

12319 @return whether the input is a proper JSON text
12320 */
12321 bool accept(const bool strict = true)
12322 {
12323 json_sax_acceptor<BasicJsonType> sax_acceptor;
12324 return sax_parse(&sax_acceptor, strict);
12325 }
12326
12327 template<typename SAX>
12328 JSON_HEDLEY_NON_NULL(2)

Callers 2

acceptFunction · 0.80
json.hppFile · 0.80

Calls 1

sax_parseFunction · 0.85

Tested by

no test coverage detected