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

Method doSet

src/ArduinoJson/Variant/VariantRefBaseImpl.hpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136template <typename TDerived>
137template <typename TConverter, typename T>
138inline bool VariantRefBase<TDerived>::doSet(const T& value, false_type) const {
139 TConverter::toJson(value, getOrCreateVariant());
140 auto resources = getResourceManager();
141 return resources && !resources->overflowed();
142}
143
144template <typename TDerived>
145template <typename TConverter, typename T>

Callers

nothing calls this directly

Calls 3

toJsonFunction · 0.85
getResourceManagerFunction · 0.70
overflowedMethod · 0.45

Tested by

no test coverage detected