Debian Codegraph @

CodeLite/LSP/json_rpc_results.cpp

raw
1 #include "LSP/json_rpc_results.h"
2
3 void LSP::ResultString::FromJSON(const JSONItem& json) { m_text = json.toString(); }
4 void LSP::ResultNumber::FromJSON(const JSONItem& json) { m_number = json.toInt(m_number); }
5 void LSP::ResultBoolean::FromJSON(const JSONItem& json) { m_value = json.toBool(m_value); }