| 9 | } |
| 10 | |
| 11 | nlohmann::json lsp::Position::Serialize() { |
| 12 | auto object = nlohmann::json::object(); |
| 13 | object["line"] = line; |
| 14 | object["character"] = character; |
| 15 | |
| 16 | return object; |
| 17 | } |
| 18 | |
| 19 | void lsp::Position::Deserialize(nlohmann::json json) { |
| 20 | line = json["line"]; |
no test coverage detected