MCPcopy Create free account
hub / github.com/LAStools/LAStools / accept

Function accept

src/json.hpp:23361–23365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23359 /// @sa https://json.nlohmann.me/api/basic_json/accept/
23360 template<typename InputType>
23361 static bool accept(InputType&& i,
23362 const bool ignore_comments = false)
23363 {
23364 return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
23365 }
23366
23367 /// @brief check if the input is valid JSON
23368 /// @sa https://json.nlohmann.me/api/basic_json/accept/

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected