Generate Json::Value for this object
| 34 | |
| 35 | // Generate Json::Value for this object |
| 36 | Json::Value Coordinate::JsonValue() const { |
| 37 | |
| 38 | // Create root json object |
| 39 | Json::Value root; |
| 40 | root["X"] = X; |
| 41 | root["Y"] = Y; |
| 42 | //root["increasing"] = increasing; |
| 43 | //root["repeated"] = Json::Value(Json::objectValue); |
| 44 | //root["repeated"]["num"] = repeated.num; |
| 45 | //root["repeated"]["den"] = repeated.den; |
| 46 | //root["delta"] = delta; |
| 47 | |
| 48 | // return JsonValue |
| 49 | return root; |
| 50 | } |
| 51 | |
| 52 | // Load JSON string into this object |
| 53 | void Coordinate::SetJson(const std::string value) { |
nothing calls this directly
no outgoing calls
no test coverage detected