diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-04 16:12:44 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-04 16:12:44 -0700 |
commit | 0d108d37f64b7fe6d7f42632b67cab6e1a200ba5 (patch) | |
tree | 42c60cd4298641ee546c2c873e269e1291c5c441 /controller/EmbeddedNetworkController.cpp | |
parent | cae9041c2a656431cbcd69128a7f0dba5a856b04 (diff) | |
download | infinitytier-0d108d37f64b7fe6d7f42632b67cab6e1a200ba5.tar.gz infinitytier-0d108d37f64b7fe6d7f42632b67cab6e1a200ba5.zip |
.
Diffstat (limited to 'controller/EmbeddedNetworkController.cpp')
-rw-r--r-- | controller/EmbeddedNetworkController.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 21cd78e4..8f86cc46 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -63,24 +63,6 @@ using json = nlohmann::json; namespace ZeroTier { -// JSON blob I/O -/* -static json _readJson(const std::string &path) -{ - std::string buf; - if (OSUtils::readFile(path.c_str(),buf)) { - try { - return json::parse(buf); - } catch ( ... ) {} - } - return json::object(); -} -static bool _writeJson(const std::string &path,const json &obj) -{ - return OSUtils::writeFile(path.c_str(),obj.dump(2)); -} -*/ - // Get JSON values as unsigned integers, strings, or booleans, doing type conversion if possible static uint64_t _jI(const json &jv,const uint64_t dfl) { |