Drt

Drt

  • NA
  • 82
  • 29.4k

How to MOdify a JSon Array In the json FIle

Jun 29 2023 11:02 PM

Have A JSon Array Like This inside my JSON File

{
  
   "userId": "UserIDA",
  "SNNO": "1234_1212",
  "dateTime": "2023-06-30T06:39:28.3340878+08:00",
  "
  "Results": [
    {
      "Order": "1",
      "OrderStatus": "Received",
      "OrderDetails": [
        {
          "OName": "Packing",
          "OStatus": "22",
          "OValue": "24"
        },
        {
          "OName": "INvoice",
          "OStatus": "24",
          "OValue": "29"
        },
        {
          "OName": "LIst",
          "OStatus": "56",
          "OValue": "44"
        }
      ]
    }
  ]
}

Through Dynamically i need to modify the values for all the Orderdetails(0,1,2).Plz help 

 

 


Answers (2)