MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / accept

Method accept

native/thirdpart/json/json.hpp:8794–8798  ·  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

8792 @return whether the input is a proper JSON text
8793 */
8794 bool accept(const bool strict = true)
8795 {
8796 json_sax_acceptor<BasicJsonType> sax_acceptor;
8797 return sax_parse(&sax_acceptor, strict);
8798 }
8799
8800 template <typename SAX>
8801 JSON_HEDLEY_NON_NULL(2)

Callers 1

acceptFunction · 0.80

Calls 1

sax_parseFunction · 0.85

Tested by

no test coverage detected