| 211 | } |
| 212 | |
| 213 | JsonPath::PathPtr parsePath(String const& path) { |
| 214 | if (path.beginsWith("/")) |
| 215 | return make_shared<JsonPath::Pointer>(path); |
| 216 | return make_shared<JsonPath::QueryPath>(path); |
| 217 | } |
| 218 | |
| 219 | pair<JsonPath::PathPtr, bool> parseGetPath(String path) { |
| 220 | // --get and --opt have a special syntax for getting the child values of |
no test coverage detected