diff OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 4925:8785d8442f90

skip json comments when loading config
author Alain Mazy <am@osimis.io>
date Thu, 24 Feb 2022 17:36:20 +0100
parents 43e613a7756b
children 47d734fa30f6 1b76853e1797
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Wed Feb 23 16:08:54 2022 +0100
+++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Thu Feb 24 17:36:20 2022 +0100
@@ -300,7 +300,9 @@
     void ToString(std::string& target) const;
 
     void ToJson(Json::Value& target) const;
-  };
+  
+    void ToJsonWithoutComments(Json::Value& target) const;
+};
 
 
   class OrthancConfiguration : public boost::noncopyable