comparison 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
comparison
equal deleted inserted replaced
4443:fd958175c5b9 4444:11ea0a05115b
480 const std::string& source); 480 const std::string& source);
481 481
482 bool ReadJson(Json::Value& target, 482 bool ReadJson(Json::Value& target,
483 const void* buffer, 483 const void* buffer,
484 size_t size); 484 size_t size);
485
486 bool ReadJsonWithoutComments(Json::Value& target,
487 const std::string& source);
488
489 bool ReadJsonWithoutComments(Json::Value& target,
490 const void* buffer,
491 size_t size);
485 492
486 void WriteFastJson(std::string& target, 493 void WriteFastJson(std::string& target,
487 const Json::Value& source); 494 const Json::Value& source);
488 495
489 void WriteStyledJson(std::string& target, 496 void WriteStyledJson(std::string& target,