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

Function canConvertFromJson

extras/tests/JsonVariant/converters.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28bool canConvertFromJson(JsonVariantConst src, const Date&) {
29 return src["day"].is<int>() && src["month"].is<int>() &&
30 src["year"].is<int>();
31}
32} // namespace
33
34TEST_CASE("Custom converter with overloading") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected