title: unable to parse API value
body: <pre><code>{
  id: 8,
  customerName: &quot;xyz&quot;,
  customerMobileNumber: &quot;123456789&quot;,
  customerBillingAddress: &quot;xyz address&quot;,
  customerShippingAddress: &quot;xyz address&quot;,
  customerProductPurchasedDate: &quot;2021-11-09T09:07:00.000Z&quot;,
  customerGstNumber: &quot;xyz&quot;,
  customerHsnNumber: &quot;xyz&quot;,
  addedInvoiceProductDetails: &quot;[{&quot;productquantity&quot;:&quot;5&quot;,&quot;productprice&quot;:&quot;5&quot;,&quot;productgst&quot;:&quot;5&quot;,&quot;productname&quot;:&quot;xyz&quot;,&quot;producttotalprice&quot;:&quot;26.25&quot;,&quot;id&quot;:&quot;2021-11-13T09:08:20.071Z&quot;}]&quot;,
  created_at: &quot;2021-11-13T09:08:25.000000Z&quot;,
  updated_at: &quot;2021-11-13T09:08:25.000000Z&quot;
  },
  
  </code></pre>
  <p>I'm getting above values in one of my project API[<strong>http://127.0.0.1:8000/api/invoice_details/8</strong>], The issue here im facing is that im unable to map the parameter i.e., <strong>addedInvoiceProductDetails</strong> the typeof im getting for the parameter <strong>addedInvoiceProductDetails</strong> is as string. So map wont work for string. Hence how can i convert it to object and map it.</p>
  <p><strong>Note:</strong>  I'm getting the response from API for <strong>addedInvoiceProductDetails</strong> parameter is as below</p>
  <p><code>[{&quot;productquantity&quot;:&quot;1&quot;,&quot;productprice&quot;:&quot;1000&quot;,&quot;productgst&quot;:&quot;18&quot;,&quot;productname&quot;:&quot;Street Light&quot;,&quot;producttotalprice&quot;:&quot;1180&quot;,&quot;id&quot;:&quot;2021-11-18T12:11:31.137Z&quot;},{&quot;productname&quot;:&quot;Solar&quot;,&quot;productquantity&quot;:&quot;2&quot;,&quot;productprice&quot;:&quot;50&quot;,&quot;productgst&quot;:&quot;10&quot;,&quot;producttotalprice&quot;:&quot;110&quot;,&quot;id&quot;:&quot;2021-11-18T12:11:43.935Z&quot;}]</code></p>
  <p>The response what im getting from API is parsed one itself, but still when i check its typeof it is giving as string.</p>
  <p>it would be really helpful if i have provide with solution, im stuck with this issue from past 2 days.</p>