comparison OrthancFramework/Sources/SerializationToolbox.h @ 5255:f783b99e4738 db-protobuf

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Apr 2023 16:28:28 +0200
parents 0ea402b4d901
children b31c73bc7cb6
comparison
equal deleted inserted replaced
5254:fafdb6179829 5255:f783b99e4738
35 class ORTHANC_PUBLIC SerializationToolbox 35 class ORTHANC_PUBLIC SerializationToolbox
36 { 36 {
37 public: 37 public:
38 static std::string ReadString(const Json::Value& value, 38 static std::string ReadString(const Json::Value& value,
39 const std::string& field); 39 const std::string& field);
40
41 static std::string ReadString(const Json::Value& value,
42 const std::string& field,
43 const std::string& defaultValue);
40 44
41 static int ReadInteger(const Json::Value& value, 45 static int ReadInteger(const Json::Value& value,
42 const std::string& field); 46 const std::string& field);
43 47
44 static int ReadInteger(const Json::Value& value, 48 static int ReadInteger(const Json::Value& value,