title: Read data from json response
body: <p>I am developing an application with Delphi 10 Seattle.</p>
  
  <p>I am trying to read a value of an item from JSON.</p>
  
  <p>For example : </p>
  
  <pre class="lang-json prettyprint-override"><code>{  
    "findCompletedItemsResponse":[  
      {  
        "ack":[  
          "Success"
        ],
        "version":[  
          "1.13.0"
        ],
        "timestamp":[  
          "2016-06-02T16:07:36.736Z"
        ],
        "searchResult":[  
          {  
            "@count":"2",
            "item":[  
              {  
                "itemId":[  
                  "172168793372"
                ],
                "title":[  
                  "Nikon D5000 12.3 MP Digital SLR Camera (Body Only with Accessories)"
                ],
                "globalId":[  
                  "EBAY-US"
                ],
                "primaryCategory":[  
                  {  
                    "categoryId":[  
                      "31388"
                    ],
                    "categoryName":[  
                      "Digital Cameras"
                    ]
                  }
                ],
                "galleryURL":[  
                  "http:\/\/thumbs1.ebaystatic.com\/m\/mlRCNAriHPzowbSV9Q7ZFAg\/140.jpg"
                ],
                "viewItemURL":[  
                  "http:\/\/www.ebay.com\/itm\/Nikon-D5000-12-3-MP-Digital-SLR-Camera-Body-Only-Accessories-\/172168793372"
                ],
                "paymentMethod":[  
                  "PayPal"
                ],
                "autoPay":[  
                  "false"
                ],
                "postalCode":[  
                  "02806"
                ],
                "location":[  
                  "Barrington,RI,USA"
                ],
                "country":[  
                  "US"
                ],
                "shippingInfo":[  
                  {  
                    "shippingServiceCost":[  
                      {  
                        "@currencyId":"USD",
                        "__value__":"0.0"
                      }
                    ],
                    "shippingType":[  
                      "Free"
                    ],
                    "shipToLocations":[  
                      "US"
                    ],
                    "expeditedShipping":[  
                      "true"
                    ],
                    "oneDayShippingAvailable":[  
                      "false"
                    ],
                    "handlingTime":[  
                      "2"
                    ]
                  }
                ],
                "sellingStatus":[  
                  {  
                    "currentPrice":[  
                      {  
                        "@currencyId":"USD",
                        "__value__":"178.5"
                      }
                    ],
                    "convertedCurrentPrice":[  
                      {  
                        "@currencyId":"USD",
                        "__value__":"178.5"
                      }
                    ],
                    "bidCount":[  
                      "13"
                    ],
                    "sellingState":[  
                      "EndedWithSales"
                    ]
                  }
                ],
                "listingInfo":[  
                  {  
                    "bestOfferEnabled":[  
                      "false"
                    ],
                    "buyItNowAvailable":[  
                      "false"
                    ],
                    "startTime":[  
                      "2016-04-18T18:45:54.000Z"
                    ],
                    "endTime":[  
                      "2016-04-25T18:45:54.000Z"
                    ],
                    "listingType":[  
                      "Auction"
                    ],
                    "gift":[  
                      "false"
                    ]
                  }
                ],
                "returnsAccepted":[  
                  "false"
                ],
                "condition":[  
                  {  
                    "conditionId":[  
                      "3000"
                    ],
                    "conditionDisplayName":[  
                      "Used"
                    ]
                  }
                ],
                "isMultiVariationListing":[  
                  "false"
                ],
                "topRatedListing":[  
                  "false"
                ]
              },
              {  
                "itemId":[  
                  "172200026135"
                ],
                "title":[  
                  "Nikon D5000 12.3 MP Digital SLR Camera (Body Only with Accessories)"
                ],
                "globalId":[  
                  "EBAY-US"
                ],
                "primaryCategory":[  
                  {  
                    "categoryId":[  
                      "31388"
                    ],
                    "categoryName":[  
                      "Digital Cameras"
                    ]
                  }
                ],
                "galleryURL":[  
                  "http:\/\/thumbs4.ebaystatic.com\/m\/mlRCNAriHPzowbSV9Q7ZFAg\/140.jpg"
                ],
                "viewItemURL":[  
                  "http:\/\/www.ebay.com\/itm\/Nikon-D5000-12-3-MP-Digital-SLR-Camera-Body-Only-Accessories-\/172200026135"
                ],
                "paymentMethod":[  
                  "PayPal"
                ],
                "autoPay":[  
                  "false"
                ],
                "postalCode":[  
                  "02806"
                ],
                "location":[  
                  "Barrington,RI,USA"
                ],
                "country":[  
                  "US"
                ],
                "shippingInfo":[  
                  {  
                    "shippingServiceCost":[  
                      {  
                        "@currencyId":"USD",
                        "__value__":"0.0"
                      }
                    ],
                    "shippingType":[  
                      "Free"
                    ],
                    "shipToLocations":[  
                      "US"
                    ],
                    "expeditedShipping":[  
                      "true"
                    ],
                    "oneDayShippingAvailable":[  
                      "false"
                    ],
                    "handlingTime":[  
                      "2"
                    ]
                  }
                ],
                "sellingStatus":[  
                  {  
                    "currentPrice":[  
                      {  
                        "@currencyId":"USD",
                        "__value__":"119.49"
                      }
                    ],
                    "convertedCurrentPrice":[  
                      {  
                        "@currencyId":"USD",
                        "__value__":"119.49"
                      }
                    ],
                    "bidCount":[  
                      "2"
                    ],
                    "sellingState":[  
                      "EndedWithSales"
                    ]
                  }
                ],
                "listingInfo":[  
                  {  
                    "bestOfferEnabled":[  
                      "false"
                    ],
                    "buyItNowAvailable":[  
                      "false"
                    ],
                    "startTime":[  
                      "2016-05-10T07:22:34.000Z"
                    ],
                    "endTime":[  
                      "2016-05-16T19:22:25.000Z"
                    ],
                    "listingType":[  
                      "Auction"
                    ],
                    "gift":[  
                      "false"
                    ]
                  }
                ],
                "returnsAccepted":[  
                  "false"
                ],
                "condition":[  
                  {  
                    "conditionId":[  
                      "3000"
                    ],
                    "conditionDisplayName":[  
                      "Used"
                    ]
                  }
                ],
                "isMultiVariationListing":[  
                  "false"
                ],
                "topRatedListing":[  
                  "false"
                ]
              }
            ]
          }
        ],
        "paginationOutput":[  
          {  
            "pageNumber":[  
              "1"
            ],
            "entriesPerPage":[  
              "100"
            ],
            "totalPages":[  
              "1"
            ],
            "totalEntries":[  
              "2"
            ]
          }
        ]
      }
    ]
  }
  </code></pre>
  
  <p>I only want to extract the price of the listed item on ebay. Which is I guess the <code>currentPrice</code>. </p>
  
  <p>How can I extract only the value of the price to a variable?</p>