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

Function as

src/ArduinoJson/Variant/JsonVariantConst.hpp:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 template <typename T,
71 detail::enable_if_t<ConversionSupported<T>::value, int> = 0>
72 T as() const {
73 return Converter<T>::fromJson(*this);
74 }
75
76 // Invalid conversion. Will not compile.
77 template <typename T,

Callers

nothing calls this directly

Calls 1

fromJsonFunction · 0.85

Tested by

no test coverage detected