0

I have a json data in nested array object format.I want to show it on VF page in table format. my data formate is like:

{
  "results": [
    {
      "engagement": {
        "id": 29090716,
        "portalId": 62515,
        "active": true,
        "createdAt": 1444223400781,
        "lastUpdated": 1444223400781,
        "createdBy": 215482,
        "modifiedBy": 215482,
        "ownerId": 70,
        "type": "NOTE",
        "timestamp": 1444223400781
      },
      "associations": {
        "contactIds": [
          247
        ],
        "companyIds": [
          768576546
        ],
        "dealIds": [
          345646
        ],
        "ownerIds": [
          435
        ],
        "workflowIds": [
          7867686
        ]
      },
      "attachments": [
        657868
      ],
      "metadata": {
        "body": "This is a test note "
      }
    },
    {
      "engagement": {
        "id": 4709059,
        "portalId": 62515,
        "active": true,
        "createdAt": 1428586724779,
        "lastUpdated": 1428586724779,
        "createdBy": 215482,
        "modifiedBy": 215482,
        "ownerId": 70,
        "type": "CALL",
        "timestamp": 1428565020000
      },
      "associations": {
        "contactIds": [
          832
        ],
        "companyIds": [
          8347
        ],
        "dealIds": [
          34543
        ],
        "ownerIds": [
          345435
        ],
        "workflowIds": [
          568768
        ]
      },
      "attachments": [

      ],
      "metadata": {
        "durationMilliseconds": 24000,
        "body": "test call"
      }
    }
  ],
  "hasMore": true,
  "offset": 4623406
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.