| 341 | } |
| 342 | |
| 343 | bool ProtoJsonFormat::ParseFromString(const std::string& input, Message* pb) { |
| 344 | Json::Reader reader; |
| 345 | Json::Value root; |
| 346 | reader.parse(input, root, false); |
| 347 | return ParseFromJsonValue(root, pb); |
| 348 | } |
| 349 | |
| 350 | bool ProtoJsonFormat::ParseFromValue(const Json::Value& input, Message* output) { |
| 351 | return ParseFromJsonValue(input, output); |
nothing calls this directly
no test coverage detected