AnsweredAssumed Answered

Get an Object from an Array using Json and Java

Question asked by mobarkiyasmine on Jul 22, 2018
Latest reply on Jul 23, 2018 by ryandawson

i have a table in the form of json that contains objects one of the variable of this object is u object how can i get this i explain it all with an example, i want to get variable using java how can i do it

  {  "data": [   {   "id": "40406",   "processInstanceId": "40398",    "processInstanceUrl": "http://10.6.99.57:8888/activiti-     rest/service/history/historic-process-instances/40398",    "taskId": null,    "variable": {    "name": "nbj",     "type": "string",     "value": "3",     "scope": null      }        },     {       "id": "40408",      "processInstanceId": "40398",         "processInstanceUrl": "http://10.6.99.57:8888/activiti-       rest/service/history/historic-process-instances/40398",       "taskId": null,       "variable": {       "name": "nom",       "type": "string",       "value": "yasmine",        "scope": null         }          },          {        "id": "40404",         "processInstanceId": "40398",          "processInstanceUrl": "http://10.6.99.57:8888/activiti-            rest/service/history/historic-process-instances/40398",           "taskId": null,            "variable": {            "name": "reponse",             "type": "string",              "value": "1",              "scope": null                }                 }                 ], 

Outcomes