How to get data from this API response
Hello,
I'm having trouble figuring out how to read this response. The result posted below is saved on a variable called response.
- <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.ventamovil.com.mx/ws/">{"Confirmation":"24","Description":"RECARGA EN ESPERA","Folio":"000000","Folio_Carrier":"000000","Notice":"Feliz navidad 2019","Balance":"0","transaction_date":"23/06/2020 17:44:33","productVersion":"21"}</string>
I want to get the data between {} I tried this but got null:
info response.get("Confirmation");
info response.executeXPath("/string/text()");