Mercurial > hg > orthanc
comparison Core/WebServiceParameters.h @ 2655:c196d76cb8fa jobs
serialization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Jun 2018 17:57:49 +0200 |
parents | 878b59270859 |
children | eaf10085ffa1 |
comparison
equal
deleted
inserted
replaced
2654:761031029aa9 | 2655:c196d76cb8fa |
---|---|
58 | 58 |
59 void FromJsonObject(const Json::Value& peer); | 59 void FromJsonObject(const Json::Value& peer); |
60 | 60 |
61 public: | 61 public: |
62 WebServiceParameters(); | 62 WebServiceParameters(); |
63 | |
64 WebServiceParameters(const Json::Value& serialized); | |
63 | 65 |
64 const std::string& GetUrl() const | 66 const std::string& GetUrl() const |
65 { | 67 { |
66 return url_; | 68 return url_; |
67 } | 69 } |
125 } | 127 } |
126 | 128 |
127 void FromJson(const Json::Value& peer); | 129 void FromJson(const Json::Value& peer); |
128 | 130 |
129 void ToJson(Json::Value& value) const; | 131 void ToJson(Json::Value& value) const; |
132 | |
133 void Serialize(Json::Value& target) const; | |
130 }; | 134 }; |
131 } | 135 } |