Load Json::Value into this object
| 68 | |
| 69 | // Load Json::Value into this object |
| 70 | void Coordinate::SetJsonValue(const Json::Value root) { |
| 71 | |
| 72 | // Set data from Json (if key is found) |
| 73 | if (!root["X"].isNull()) |
| 74 | X = root["X"].asDouble(); |
| 75 | if (!root["Y"].isNull()) |
| 76 | Y = root["Y"].asDouble(); |
| 77 | } |
nothing calls this directly
no outgoing calls
no test coverage detected