| 14 | }; |
| 15 | |
| 16 | void convertToJson(const Date& src, JsonVariant dst) { |
| 17 | dst["day"] = src.day; |
| 18 | dst["month"] = src.month; |
| 19 | dst["year"] = src.year; |
| 20 | } |
| 21 | |
| 22 | void convertFromJson(JsonVariantConst src, Date& dst) { |
| 23 | dst.day = src["day"]; |
nothing calls this directly
no outgoing calls
no test coverage detected