-2

My string is

"{\"status\":\"ok\",\"data\":[{\"symbol\":\"ADA\",\"index_price\":0.496468926204095686,\"index_ts\":1653401646017}],\"ts\":1653401647591}"

i want to get the value of "index_price" from this string

Anybody can help me plz

brombeer
  • 8,206
  • 5
  • 21
  • 26
  • What have you tried so far? Did you attempt this: https://www.php.net/manual/en/function.json-decode.php ? – Răzvan T. May 24 '22 at 14:17
  • Welcome! Stack Overflow is *not* a code writing service. We are always glad to help and support new coders but you need to help yourself first. You are expected to try to write the code yourself. Please take the [tour](https://stackoverflow.com/tour), read [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) and [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask). – brombeer May 24 '22 at 14:20

0 Answers0