diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-19 10:44:26 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-19 10:44:26 -0800 |
commit | e9007b1f569ce15780ed34b837db987eec457d2f (patch) | |
tree | abae4ea9e7317dd0de5cbdbb45379296f42427ab /osdep | |
parent | 0fb3d1d58239837ae058c43d7269ce7fc33f5a7c (diff) | |
download | infinitytier-e9007b1f569ce15780ed34b837db987eec457d2f.tar.gz infinitytier-e9007b1f569ce15780ed34b837db987eec457d2f.zip |
NodeJS migration script for old Sqlite controller.db to new controller data format.
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/OSUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/OSUtils.cpp b/osdep/OSUtils.cpp index 08d67bbe..170e1376 100644 --- a/osdep/OSUtils.cpp +++ b/osdep/OSUtils.cpp @@ -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) { |