Jump to content
We've recently updated our Privacy Statement, available here ×

json and wildcard expressions


Recommended Posts


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

  • 3 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...