Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
4393:e8e95b80194f | 4394:f7104e9d044c |
---|---|
266 | 266 |
267 static bool ReadJson(Json::Value& target, | 267 static bool ReadJson(Json::Value& target, |
268 const void* buffer, | 268 const void* buffer, |
269 size_t size); | 269 size_t size); |
270 | 270 |
271 static void WriteJson(std::string& target, | 271 static void WriteFastJson(std::string& target, |
272 const Json::Value& source, | 272 const Json::Value& source); |
273 bool fast); | 273 |
274 static void WriteStyledJson(std::string& target, | |
275 const Json::Value& source); | |
274 }; | 276 }; |
275 } | 277 } |
276 | 278 |
277 | 279 |
278 | 280 |