ross.lloyd Posted May 16, 2013 Share Posted May 16, 2013 HI,I'm new to iReport but am trying to put together a report using a json datasource. the sections of the data are referenced using a GUID which is generated when the json file is created. So the data looks something like{ "name" : "config1", "items" : { "e0454dab-e6b3-5fb1-3e68-b242e5f6e48e" :{ "name" : "item1", "information" : "this is the first" }, "2ea24212-c1fc-1650-0442-26c4b43e2053": { "name" : "item2", "information" : " this is the second" }, },}Is there any way of using a wildcard type syntax to get to data, ie items.*.name and create a table from it. Link to comment Share on other sites More sharing options...
narcism Posted September 13, 2016 Share Posted September 13, 2016 This will be possible in JasperReports Library v6.3.1.With this release, a new JSON query language(JSONQL) will be available for use. It is meant to replace the existing language for querying JSON data. New sample with extensive documentation will be available in the Data Source / Query Executer section of the sample reference page(http://jasperreports.sourceforge.net/sample.reference.html). 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