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

Function find_inner_last

include/jsoncons_ext/jsonpointer/jsonpointer.hpp:1366–1374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1364
1365 template <typename Iterator,typename StringT>
1366 Iterator find_inner_last(Iterator first, Iterator last, std::size_t offset, const StringT& token)
1367 {
1368 Iterator it = first;
1369 while (it != last && *(it->first.tokens().begin() + offset) == token)
1370 {
1371 ++it;
1372 }
1373 return it;
1374 }
1375
1376 template <typename Json, typename Iterator>
1377 jsoncons::optional<Json> try_unflatten_array(Iterator first, Iterator last, std::size_t offset);

Callers 2

unflatten_objectFunction · 0.85
try_unflatten_arrayFunction · 0.85

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected