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

Function accept

src/include/nlohmann/json.hpp:4085–4089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4083 /// @sa https://json.nlohmann.me/api/basic_json/accept/
4084 template<typename InputType>
4085 static bool accept(InputType&& i,
4086 const bool ignore_comments = false)
4087 {
4088 return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
4089 }
4090
4091 /// @brief check if the input is valid JSON
4092 /// @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