-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path typecasting #32
Comments
I'm the maintainer of this plugin, but I'm not familiar JSONPath 😄 Have you ever tried the following? in:
type: file
path_prefix: ./test.txt
parser:
type: jsonpath
columns:
- {name: "abreviation", type: string, path: "$.attributeValue[0]"}
root: "$.attributes[?(@.attributeName== 'Abbreviation')]"
out:
type: stdout
|
Right, thanks. In my use case, I need to pick all of those values, meaning something like
So using root isn't an option. |
Hello, @kakoni
I think it requires implementing that feature. Could you show me your configuration? |
I have json data that looks like this;
I wish to get attribate name/value pairs into columns;
This almost works ok, but gives me string value that has brackets;
Wonder if there is a away to extract just the string value?
The text was updated successfully, but these errors were encountered: