Read object array in a json in Delphi

Asked

Viewed 51 times

1

I need to take the values that are inside an array in JSON. A part of this JSON is:

{
"total": 1,
"limit": 50,
"questions": [
    {
        "date_created": "2020-08-20T13:22:01.600-04:00",
        "item_id": "MLB1623490410",
        "seller_id": 419059118,
        "status": "UNANSWERED",
        "text": "Hola, estoy interesado en Item De Prueba, por favor comunícate conmigo. ¡Gracias!",
        "id": 11436370259,
        "deleted_from_listing": false,
        "hold": false,
        "answer": null,
        "from": {
            "id": 419067349
        }
    }
],

I can get total and limit values using

JsonObject.GetValue('total').Value

But I can’t get the values inside the Question. How can I?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.