MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / accept

Function accept

Source/external/json.hpp:23226–23230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23224 /// @sa https://json.nlohmann.me/api/basic_json/accept/
23225 template<typename InputType>
23226 static bool accept(InputType&& i,
23227 const bool ignore_comments = false)
23228 {
23229 return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
23230 }
23231
23232 /// @brief check if the input is valid JSON
23233 /// @sa https://json.nlohmann.me/api/basic_json/accept/

Callers

nothing calls this directly

Calls 4

input_adapterFunction · 0.85
acceptMethod · 0.80
getMethod · 0.80
parserFunction · 0.70

Tested by

no test coverage detected