MCPcopy Create free account
hub / github.com/ErrorFlynn/ytdlp-interface / accept

Method accept

ytdlp-interface/json.hpp:13011–13015  ·  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

13009 @return whether the input is a proper JSON text
13010 */
13011 bool accept(const bool strict = true)
13012 {
13013 json_sax_acceptor<BasicJsonType> sax_acceptor;
13014 return sax_parse(&sax_acceptor, strict);
13015 }
13016
13017 template<typename SAX>
13018 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