/** * Returns a newly-created {@link Query} that applies a series of * <a href="https://github.com/json-path/JsonPath/blob/master/README.md">JSON path expressions</a> * to the content. * * @param path the path of a file being queried on * @param jsonPaths the JSON path expressions to apply */ static Query<JsonNode> ofJsonPath(String path, String... jsonPaths) { return new JsonPathQuery(path, jsonPaths); }
/** * Returns a newly-created {@link Query} that applies a series of * <a href="https://github.com/json-path/JsonPath/blob/master/README.md">JSON path expressions</a> * to the content. * * @param path the path of a file being queried on * @param jsonPaths the JSON path expressions to apply */ static Query<JsonNode> ofJsonPath(String path, String... jsonPaths) { return new JsonPathQuery(path, jsonPaths); }
/** * Returns a newly-created {@link Query} that applies a series of * <a href="https://github.com/json-path/JsonPath/blob/master/README.md">JSON path expressions</a> * to the content. * * @param path the path of a file being queried on * @param jsonPaths the JSON path expressions to apply */ static Query<JsonNode> ofJsonPath(String path, Iterable<String> jsonPaths) { return new JsonPathQuery(path, jsonPaths); }
/** * Returns a newly-created {@link Query} that applies a series of * <a href="https://github.com/json-path/JsonPath/blob/master/README.md">JSON path expressions</a> * to the content. * * @param path the path of a file being queried on * @param jsonPaths the JSON path expressions to apply */ static Query<JsonNode> ofJsonPath(String path, Iterable<String> jsonPaths) { return new JsonPathQuery(path, jsonPaths); }
/** * Returns a newly-created {@link Query} that applies a series of * <a href="https://github.com/json-path/JsonPath/blob/master/README.md">JSON path expressions</a> * to the content. * * @param path the path of a file being queried on * @param jsonPaths the JSON path expressions to apply */ static Query<JsonNode> ofJsonPath(String path, String... jsonPaths) { return new JsonPathQuery(path, jsonPaths); }
/** * Returns a newly-created {@link Query} that applies a series of * <a href="https://github.com/json-path/JsonPath/blob/master/README.md">JSON path expressions</a> * to the content. * * @param path the path of a file being queried on * @param jsonPaths the JSON path expressions to apply */ static Query<JsonNode> ofJsonPath(String path, Iterable<String> jsonPaths) { return new JsonPathQuery(path, jsonPaths); }