JSONQL: Retrieve values from array wthout key/index

0

Hi everyone,

I need to retrieve values from JSON datasource without an index/key.

Examples:

"items": [
    "items 1", 
    "items 2", 
    "items 3", 
    "items 4", 
    "items 5"
]

How can I retrieve all values from items?

I have tried:

  • items.* (only return first element)
  • items.[n] (only return [n] index element)
  • items.[x:y] (only return [x] index element)

And yes, I have read JSONQL docs http://jasperreports.sourceforge.net/sample.reference/jsonqldatasource/index.html

Thanks!

shavaughn70's picture
Joined: Sep 9 2019 - 4:26am
Last seen: 1 month 1 week ago

What does your JRXML look like?

narcism - 1 month 3 weeks ago

0 Answers:

No answers yet
Feedback
randomness