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

aleix.vaz
Go to solution Solved by narcism,

Recommended Posts

Hi,

I have the following JSON file from which my data adapter is reading and I would like to do a Query and select an object depending on its "id".

[    {        "id":"bugcorrection",        "name":"Bug Correction Throughput",        "description":""Density of errors that were corrected within the defined duration threshold"",        "value":0.5,        "value_description":"0,50",        "date":"2019-09-19",        "datasource":null,        "rationale":"parameters: {totalCommitsRelatedToIssue=0, lastSnapshotDate=2019-01-01, ...",        "forecastingError":null    },    ...    {        "id":"bugidentification",        ...    }][/code]

 

My idea is to do something like (id == "bugcorrection") to get this single object from the array. Is there any way to do it? I've seen some examples but non of them is what I'm asking, and tbh I'm quite new to jasper...

Thanks in advance,

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...