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

Method to

src/ArduinoJson/Variant/VariantRefBaseImpl.hpp:152–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150template <typename TDerived>
151template <typename T, enable_if_t<is_same<T, JsonArray>::value, int>>
152inline JsonArray VariantRefBase<TDerived>::to() const {
153 return JsonArray(
154 VariantData::toArray(getOrCreateData(), getResourceManager()),
155 getResourceManager());
156}
157
158template <typename TDerived>
159template <typename T, enable_if_t<is_same<T, JsonObject>::value, int>>

Callers

nothing calls this directly

Calls 6

JsonArrayFunction · 0.85
getOrCreateDataFunction · 0.70
getResourceManagerFunction · 0.70
JsonObjectClass · 0.70
clearFunction · 0.70
JsonVariantClass · 0.70

Tested by

no test coverage detected