Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Toolbox.h @ 4397:3aeb5171fbd4
new function Toolbox::ReadJsonWithoutComments()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Dec 2020 08:59:23 +0100 |
parents | f7104e9d044c |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4396:d07a65100a95 | 4397:3aeb5171fbd4 |
---|---|
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 bool ReadJsonWithoutComments(Json::Value& target, | |
272 const std::string& source); | |
273 | |
274 static bool ReadJsonWithoutComments(Json::Value& target, | |
275 const void* buffer, | |
276 size_t size); | |
277 | |
271 static void WriteFastJson(std::string& target, | 278 static void WriteFastJson(std::string& target, |
272 const Json::Value& source); | 279 const Json::Value& source); |
273 | 280 |
274 static void WriteStyledJson(std::string& target, | 281 static void WriteStyledJson(std::string& target, |
275 const Json::Value& source); | 282 const Json::Value& source); |