Bug fixes in new harness mode.
This commit is contained in:
parent
31785f7f6e
commit
b62296a40b
6 changed files with 152 additions and 117 deletions
|
@ -434,7 +434,7 @@ std::string OSUtils::platformDefaultHomePath()
|
|||
|
||||
// Inline these massive JSON operations in one place only to reduce binary footprint and compile time
|
||||
nlohmann::json OSUtils::jsonParse(const std::string &buf) { return nlohmann::json::parse(buf.c_str()); }
|
||||
std::string OSUtils::jsonDump(const nlohmann::json &j) { return j.dump(1); }
|
||||
std::string OSUtils::jsonDump(const nlohmann::json &j,int indentation) { return j.dump(indentation); }
|
||||
|
||||
uint64_t OSUtils::jsonInt(const nlohmann::json &jv,const uint64_t dfl)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue