| 243 | } |
| 244 | |
| 245 | void FromJSON(json_t * root, Sample::Result & result) |
| 246 | { |
| 247 | FromJSONObject(root, "position", result.m_pos); |
| 248 | FromJSONObject(root, "name", result.m_name); |
| 249 | FromJSONObject(root, "houseNumber", result.m_houseNumber); |
| 250 | FromJSONObject(root, "types", result.m_types); |
| 251 | FromJSONObject(root, "relevancy", result.m_relevance); |
| 252 | } |
| 253 | |
| 254 | base::JSONPtr ToJSON(Sample::Result const & result) |
| 255 | { |
nothing calls this directly
no test coverage detected