You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "hansva (via GitHub)" <gi...@apache.org> on 2023/02/15 10:34:41 UTC

[GitHub] [hop] hansva opened a new issue, #2362: [Bug]: JSON input - transform cannot retrieve number of elements in an array

hansva opened a new issue, #2362:
URL: https://github.com/apache/hop/issues/2362

   ### Apache Hop version?
   
   2.3
   
   ### Java version?
   
   11
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   Migration: https://issues.apache.org/jira/browse/HOP-4076
   
   In a JSON containing an array, "length()" should retrieve the number of array elements, which works flawlessly using [https://jsonpath.herokuapp.com/] on the attached input file using an "$.someArray.length() " path, returning 2 as the correct number of array elements.
   
   However, using the HOP JSON input parser, <null> is returned.
   
   For reproducing the issue, see the notes in the attached pipeline.
   
   [Archive.zip](https://github.com/apache/hop/files/10741980/Archive.zip)
   
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
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: issues-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org