diff OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 4444:11ea0a05115b

new function in OrthancPluginCppWrapper: ReadJsonWithoutComments()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 13 Jan 2021 09:19:32 +0100
parents d9473bd5ed43
children 7053502fbf97
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Jan 12 13:07:15 2021 +0100
+++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Wed Jan 13 09:19:32 2021 +0100
@@ -483,6 +483,13 @@
                 const void* buffer,
                 size_t size);
 
+  bool ReadJsonWithoutComments(Json::Value& target,
+                               const std::string& source);  
+
+  bool ReadJsonWithoutComments(Json::Value& target,
+                               const void* buffer,
+                               size_t size);
+
   void WriteFastJson(std::string& target,
                      const Json::Value& source);