MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / parse_array_item

Method parse_array_item

libraries/AP_JSON/AP_JSON.cpp:660–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 return true;
659 }
660 template <typename Iter> bool parse_array_item(input<Iter> &in, size_t)
661 {
662 array &a = out_->get<array>();
663 a.push_back(value());
664 default_parse_context ctx(&a.back());
665 return _parse(ctx, in);
666 }
667 bool parse_array_stop(size_t)
668 {
669 return true;

Callers 1

_parse_arrayFunction · 0.80

Calls 2

valueClass · 0.85
_parseFunction · 0.85

Tested by

no test coverage detected