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

Method addValue

src/ArduinoJson/Variant/VariantData.hpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132
133 template <typename T>
134 bool addValue(const T& value, ResourceManager* resources) {
135 auto array = isNull() ? &toArray() : asArray();
136 return detail::ArrayData::addValue(array, value, resources);
137 }
138
139 template <typename T>
140 static bool addValue(VariantData* var, const T& value,

Callers

nothing calls this directly

Calls 2

addValueFunction · 0.85
isNullFunction · 0.70

Tested by

no test coverage detected