comparison Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h @ 31:cfeda58d0c8e

remove calls to deprecated classes of JsonCpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Dec 2020 08:31:22 +0100
parents 3abebab5d004
children 3bd0ec7c5a7c
comparison
equal deleted inserted replaced
30:3abebab5d004 31:cfeda58d0c8e
473 return IsMatch(dicom.GetData(), dicom.GetSize()); 473 return IsMatch(dicom.GetData(), dicom.GetSize());
474 } 474 }
475 }; 475 };
476 #endif 476 #endif
477 477
478
479 bool ReadJson(Json::Value& target,
480 const std::string& source);
481
482 bool ReadJson(Json::Value& target,
483 const void* buffer,
484 size_t size);
485
486 void WriteFastJson(std::string& target,
487 const Json::Value& source);
488
489 void WriteStyledJson(std::string& target,
490 const Json::Value& source);
478 491
479 bool RestApiGet(Json::Value& result, 492 bool RestApiGet(Json::Value& result,
480 const std::string& uri, 493 const std::string& uri,
481 bool applyPlugins); 494 bool applyPlugins);
482 495