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

Method setOwnedString

src/ArduinoJson/Variant/VariantData.hpp:546–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544 }
545
546 void setOwnedString(StringNode* s) {
547 ARDUINOJSON_ASSERT(type_ == VariantType::Null); // must call clear() first
548 ARDUINOJSON_ASSERT(s);
549 type_ = VariantType::OwnedString;
550 content_.asOwnedString = s;
551 }
552
553 size_t size(const ResourceManager* resources) const {
554 if (isObject())

Callers 2

saveFunction · 0.80
saveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected