mattcasters commented on issue #4395:
URL: https://github.com/apache/hop/issues/4395#issuecomment-6556566154
JSON Input does not treat `$.[0].name()` as positional access to an object
member. JSON objects do not have a portable member order.
Use a quoted key, `\$['doc.tipo']`. `$.keys()` returns the object's keys as
one JSON value. To take a key and a value by position, store an ordered array
in the source, for example `[{\"name\":\"doc.tipo\",\"value\":\"XG\"}]`, and
read `\$[0].name` and `\$[0].value` with JsonPath variable resolution disabled.
This is documented in `jsoninput.adoc`, section "Object keys and array
indexes" (#8715).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]