NodeJS migration script for old Sqlite controller.db to new controller data format.
This commit is contained in:
@@ -398,7 +398,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); }
|
||||
std::string OSUtils::jsonDump(const nlohmann::json &j) { return j.dump(2); }
|
||||
std::string OSUtils::jsonDump(const nlohmann::json &j) { return j.dump(1); }
|
||||
|
||||
uint64_t OSUtils::jsonInt(const nlohmann::json &jv,const uint64_t dfl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user