I have a json data like
{"Player1": {"inventory": {"tas-count": 5, "kiriktas-count": 0, "odun-count": 0}}}
But it seems too complex. I want to edit, change it like
{
  "Player1": {
    "inventory": {
      "tas-count": 5,
      "kiriktas-count": 0,
      "odun-count": 0,
    }
  }
}
I looked for it but there is nothing on Stackoverflow and also things like "\n" are not working. I heard that in other languages, there are libraries for making a clear json data. Might there are some like this in Python.
 
     
    