Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.h @ 4394:f7104e9d044c
functions to read/write JSON in OrthancPluginCppWrapper.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Dec 2020 08:11:37 +0100 |
parents | 3af1d763763a |
children | 3aeb5171fbd4 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.h Mon Dec 21 18:55:32 2020 +0100 +++ b/OrthancFramework/Sources/Toolbox.h Tue Dec 22 08:11:37 2020 +0100 @@ -268,9 +268,11 @@ const void* buffer, size_t size); - static void WriteJson(std::string& target, - const Json::Value& source, - bool fast); + static void WriteFastJson(std::string& target, + const Json::Value& source); + + static void WriteStyledJson(std::string& target, + const Json::Value& source); }; }