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

Method setLinkedString

src/ArduinoJson/Variant/VariantData.hpp:522–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520 }
521
522 void setLinkedString(const char* s) {
523 ARDUINOJSON_ASSERT(type_ == VariantType::Null); // must call clear() first
524 ARDUINOJSON_ASSERT(s);
525 type_ = VariantType::LinkedString;
526 content_.asLinkedString = s;
527 }
528
529 template <typename TAdaptedString>
530 void setTinyString(const TAdaptedString& s) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected