| 20 | } |
| 21 | |
| 22 | void convertFromJson(JsonVariantConst src, Date& dst) { |
| 23 | dst.day = src["day"]; |
| 24 | dst.month = src["month"]; |
| 25 | dst.year = src["year"]; |
| 26 | } |
| 27 | |
| 28 | bool canConvertFromJson(JsonVariantConst src, const Date&) { |
| 29 | return src["day"].is<int>() && src["month"].is<int>() && |
nothing calls this directly
no outgoing calls
no test coverage detected