#include <cudf/json/json.hpp>
Apply a JSONPath string to all rows in an input strings column.
Applies a JSONPath string to an incoming strings column where each row in the column is a valid json string. The output is returned by row as a strings column.
https://tools.ietf.org/id/draft-goessner-dispatch-jsonpath-00.html Implements only the operators: $ . [] *
- Exceptions
-
| std::invalid_argument | if provided an invalid operator or an empty name |
- Parameters
-
| col | The input strings column. Each row must contain a valid json string |
| json_path | The JSONPath string to be applied to each row |
| options | Options for controlling the behavior of the function |
| stream | CUDA stream used for device memory operations and kernel launches |
| mr | Resource for allocating device memory |
- Returns
- New strings column containing the retrieved json object strings