json: Enable ignoring `//` or `/* */` comments

The `basic_json::parse` method of nlohmann JSON allows for ignoring
comments within JSON files where it treats these comments as whitespace.
This would be good to enable for the configuration files to be annotated
by users configuring the fan applications.

Change-Id: Ib8cd4b2d6d706e8469aa8ae522744a08bffb945f
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/json_config.hpp b/json_config.hpp
index 005b028..129e222 100644
--- a/json_config.hpp
+++ b/json_config.hpp
@@ -248,7 +248,8 @@
             file.open(confFile);
             try
             {
-                jsonConf = json::parse(file);
+                // Enable ignoring `//` or `/* */` comments
+                jsonConf = json::parse(file, nullptr, true, true);
             }
             catch (std::exception& e)
             {