0

I want to edit a nested field of a Json using its path as a string. The path comes from a variable.

{
  "Type": "phone",
  "os": "android",
  "Transaction": {
    "Date": {
      Day: "22",
      Month: "Jan"
    },
    "value": "2000"
  }
}

I want to update say, Month value Jan to Dec

Smile
  • 3,832
  • 3
  • 25
  • 39
Bishamon Ten
  • 479
  • 1
  • 6
  • 20

0 Answers0