MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / accept

Function accept

extern/json/json.hpp:23270–23274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23268 /// @sa https://json.nlohmann.me/api/basic_json/accept/
23269 template<typename InputType>
23270 static bool accept(InputType&& i,
23271 const bool ignore_comments = false)
23272 {
23273 return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
23274 }
23275
23276 /// @brief check if the input is valid JSON
23277 /// @sa https://json.nlohmann.me/api/basic_json/accept/

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected