| 598 | } |
| 599 | |
| 600 | static std::vector<LSPTextEdit> parseTextEditArray( const json& result ) { |
| 601 | std::vector<LSPTextEdit> ret; |
| 602 | for ( const auto& edit : result ) |
| 603 | ret.push_back( parseTextEdit( edit ) ); |
| 604 | return ret; |
| 605 | } |
| 606 | |
| 607 | static void fromJson( LSPVersionedTextDocumentIdentifier& id, const json& json ) { |
| 608 | if ( json.is_object() ) { |
no test coverage detected