MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / accept

Method accept

3rd/nlohmann_json/single_include/nlohmann/json.hpp:11070–11074  ·  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

11068 @return whether the input is a proper JSON text
11069 */
11070 bool accept(const bool strict = true)
11071 {
11072 json_sax_acceptor<BasicJsonType> sax_acceptor;
11073 return sax_parse(&sax_acceptor, strict);
11074 }
11075
11076 template<typename SAX>
11077 JSON_HEDLEY_NON_NULL(2)

Callers 3

acceptFunction · 0.45
json.hppFile · 0.45
mainFunction · 0.45

Calls 1

sax_parseFunction · 0.70

Tested by

no test coverage detected