{
"findItemsByKeywordsResponse": [{
"ack": ["Success"],
"version": ["1.13.0"],
"timestamp": ["2018-02-28T09:52:48.736Z"],
"searchResult": [{
"@count": "1",
"item": [{
"itemId": ["273088613147"],
"title": ["MTG Air Elemental *ALPHA*"],
"globalId": ["EBAY-ENCA"],
"primaryCategory": [{
"categoryId": ["38292"],
"categoryName": ["MTG Individual Cards"]
}],
"galleryURL": ["http:\/\/thumbs4.ebaystatic.com\/m\/mrUjH7CtVxARfthfKH3wYAw\/140.jpg"],
"viewItemURL": ["http:\/\/www.ebay.com\/itm\/MTG-Air-Elemental-ALPHA-\/273088613147"],
"paymentMethod": ["PayPal"],
"autoPay": ["false"],
"postalCode": ["M4S2H7"],
"location": ["Canada"],
"country": ["CA"],
"shippingInfo": [{
"shippingServiceCost": [{
"@currencyId": "USD",
"__value__": "0.0"
}],
"shippingType": ["Free"],
"shipToLocations": ["Worldwide"],
"expeditedShipping": ["false"],
"oneDayShippingAvailable": ["false"],
"handlingTime": ["1"]
}],
"sellingStatus": [{
"currentPrice": [{
"@currencyId": "CAD",
"__value__": "25.0"
}],
"convertedCurrentPrice": [{
"@currencyId": "USD",
"__value__": "19.6"
}],
"sellingState": ["Active"],
"timeLeft": ["P29DT19H50M26S"]
}],
"listingInfo": [{
"bestOfferEnabled": ["false"],
"buyItNowAvailable": ["false"],
"startTime": ["2018-02-28T05:43:14.000Z"],
"endTime": ["2018-03-30T05:43:14.000Z"],
"listingType": ["FixedPrice"],
"gift": ["false"]
}],
"returnsAccepted": ["false"],
"condition": [{
"conditionId": ["3000"],
"conditionDisplayName": ["Used"]
}],
"isMultiVariationListing": ["false"],
"topRatedListing": ["false"]
}]
}],
"paginationOutput": [{
"pageNumber": ["1"],
"entriesPerPage": ["100"],
"totalPages": ["1"],
"totalEntries": ["1"]
}],
"itemSearchURL": ["http:\/\/www.ebay.com\/sch\/i.html?_nkw=mtg+air+elemental+alpha&_ddo=1&_ipg=100&_pgn=1"]
}]
}
I want to extract, lets say, in the first line the value of 'SearchResult'. I looked on stackoverflow for the hints but I am getting confused and I am new to Scala. Can anyone suggest a simple and straight way to do it. Thanks