pawel.kuzma Posted November 21, 2019 Share Posted November 21, 2019 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 } ],[/code]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 Link to comment Share on other sites More sharing options...
narcism Posted November 27, 2019 Share Posted November 27, 2019 Same question here: https://stackoverflow.com/questions/58977354/nested-array-of-bytes-inside-json-which-is-a-datasource-jasper-studioMy comment applies here also. Link to comment Share on other sites More sharing options...
pawel.kuzma Posted November 27, 2019 Author Share Posted November 27, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now