Hi David,

The JSON Input transform uses the Jayway JSONPath [1] to parse path
expressions.
Feel free to create a feature request ticket [2] if you need any
functionality that is not available at this time.

[1] https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path
[2] https://github.com/apache/hop/issues

Regards,
Bart


On Thu, Mar 14, 2024 at 12:55 AM David McNeill <[email protected]> wrote:

> I see in the compile dependencies that hop drags in Jackson, the json
> processor
>
> Are there any transforms that expose a jackson interface?
>
> json input transform only seems to have path
>
> That chokes when input fields are optional..
>        The data structure is not the same inside the resource!
>         We found 23 values for json path [$.*.value.customFields.CHECK1],
>         which          is        different that the number returned for
> path
>         [$.*.value.stockQuantities[1].quantityOnHand] (31 values).
>         We MUST have the same number of values for all paths.
>
  • Jackson David McNeill
    • Re: Jackson Bart Maertens

Reply via email to