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

Function convertFromJson

extras/tests/JsonVariant/converters.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void convertFromJson(JsonVariantConst src, Date& dst) {
23 dst.day = src["day"];
24 dst.month = src["month"];
25 dst.year = src["year"];
26}
27
28bool canConvertFromJson(JsonVariantConst src, const Date&) {
29 return src["day"].is<int>() && src["month"].is<int>() &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected