-
Notifications
You must be signed in to change notification settings - Fork 12
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
JSON array values get turned into strings #32
Comments
Hi again:) For
There is a difference in the json path So in your example it is already possible to create multiple triples at the moment: But it seems like the java mapper would also create multiple triples for your example. From some quick tests with it (the java mapper) it seems to me that if the json path collection result is a single array it will instead create triples for each element of that array. |
Ah I see, yes I could just change it to use Yes, I also ran the same mapping with the java mapper so that's what I was basing my expectations off of. I wouldn't think there would be many cases of developers wanting their JSON arrays turned into comma separated strings instead of into a triple per element. |
Yes, the |
Published #33 with v1.14.1. |
When performing a mapping that references a key with an array value, the array gets transformed into a string instead of multiple triples.
Example
With input json that has an array value such as:
And a mapping such as:
I am getting a response of:
I would expect to get:
The text was updated successfully, but these errors were encountered: