Mercurial > hg > orthanc-stone
diff Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h @ 1736:77038e2bd074
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Dec 2020 09:06:33 +0100 |
parents | 754ef576d945 |
children | 9ac2a65d4172 |
line wrap: on
line diff
--- a/Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Thu Dec 03 07:22:00 2020 +0100 +++ b/Applications/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Tue Dec 22 09:06:33 2020 +0100 @@ -476,6 +476,19 @@ #endif + bool ReadJson(Json::Value& target, + const std::string& source); + + bool ReadJson(Json::Value& target, + const void* buffer, + size_t size); + + void WriteFastJson(std::string& target, + const Json::Value& source); + + void WriteStyledJson(std::string& target, + const Json::Value& source); + bool RestApiGet(Json::Value& result, const std::string& uri, bool applyPlugins);