MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / clear

Function clear

src/ArduinoJson/Array/JsonArray.hpp:129–131  ·  view source on GitHub ↗

Removes all the elements of the array. https://arduinojson.org/v7/api/jsonarray/clear/

Source from the content-addressed store, hash-verified

127 // Removes all the elements of the array.
128 // https://arduinojson.org/v7/api/jsonarray/clear/
129 void clear() const {
130 detail::ArrayData::clear(data_, resources_);
131 }
132
133 // Gets or sets the element at the specified index.
134 // https://arduinojson.org/v7/api/jsonarray/subscript/

Callers 1

setFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected