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

Function convertToJson

src/ArduinoJson/Variant/VariantRefBaseImpl.hpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63template <typename TDerived>
64inline void convertToJson(const VariantRefBase<TDerived>& src,
65 JsonVariant dst) {
66 dst.set(src.template as<JsonVariantConst>());
67}
68
69template <typename TDerived>
70template <typename T, enable_if_t<is_same<T, JsonVariant>::value, int>>

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected