nested array of bytes inside json which is a datasource jasper studio

I have a big json to generate fields for jasper. This json has an image in array of bytes. for example:

"BinaryData": [
        {
            "BinaryDataType": 0,
            "FileContent": [
                255,
                216,
                255,
                81,
                69,
                0,
                127,
                255,
                217
            ],
            "FileExtension": "image/jpeg",
            "FileName": "DD384805_web.jpg",
            "ArticleId": 1
        }
    ],

to be more specific --> we have a list of BinaryData which contains a FileContent with byte[]

when in jasper studio I wanna generate fields from datasoure --> Dateset and Query dialog each bite is represented by separate field (When I expande BinaryData I have got a list with a houndreds of FileContent fields).

question How can I get togeder all that fields and reprezent those by one filed in jaspert?

I cant refactor json

pawel.kuzma's picture
Joined: Nov 14 2019 - 12:49am
Last seen: 3 years 6 months ago

Same question here: https://stackoverflow.com/questions/58977354/nested-array-of-bytes-insid...

My comment applies here also.

narcism - 3 years 6 months ago

I didn't find solution but in the meantime I had some changes in whole context of task and now we are generate from json images by base64 insted of array of bytes

pawel.kuzma - 3 years 6 months ago

0 Answers:

No answers yet
Feedback
randomness