NodeJS migration script for old Sqlite controller.db to new controller data format.
This commit is contained in:
parent
0fb3d1d582
commit
e9007b1f56
6 changed files with 348 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue