mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:50:05 +00:00
Refactor json utility to wxdata, add ReadJsonString function
This commit is contained in:
parent
895e760fee
commit
9f33189c18
12 changed files with 245 additions and 228 deletions
|
|
@ -245,7 +245,7 @@ size_t RadarSite::ReadConfig(const std::string& path)
|
|||
bool dataValid = true;
|
||||
size_t sitesAdded = 0;
|
||||
|
||||
boost::json::value j = util::json::ReadJsonFile(path);
|
||||
boost::json::value j = util::json::ReadJsonQFile(path);
|
||||
|
||||
dataValid = j.is_array();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue