MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / contains

Function contains

include/jsoncons_ext/jsonpointer/jsonpointer.hpp:707–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705
706 template <typename Json>
707 bool contains(const Json& root, const basic_json_pointer<typename Json::char_type>& location)
708 {
709 std::error_code ec;
710 get(root, location, ec);
711 return !ec ? true : false;
712 }
713
714 template <typename Json,typename StringSource>
715 typename std::enable_if<std::is_convertible<StringSource,jsoncons::basic_string_view<typename Json::char_type>>::value,bool>::type

Callers

nothing calls this directly

Calls 1

getFunction · 0.70

Tested by

no test coverage detected