| 727 | } |
| 728 | |
| 729 | Maybe<String> Json::optQueryString(String const& path) const { |
| 730 | auto json = JsonPath::pathFind(*this, JsonPath::parseQueryPath, path); |
| 731 | if (json && *json) |
| 732 | return json->toString(); |
| 733 | return {}; |
| 734 | } |
| 735 | |
| 736 | Maybe<JsonArray> Json::optQueryArray(String const& path) const { |
| 737 | auto json = JsonPath::pathFind(*this, JsonPath::parseQueryPath, path); |
no test coverage detected