Get an Object from an Array using Json and Java
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2018 10:31 AM
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 } } ],
Labels:
- Labels:
-
Alfresco Process Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2018 05:19 AM
I guess this is the same question you've asked on stackoverflow. I'm assuming you want to read the data from the json. Otherwise maybe you could use the engine java api
