How can I get Notepad++ to properly format, “pretty print” unformatted JSON data

Apologies for the lacking terminology and such.

I would like to change a line like this one endless line:

{"GameDataObjects":[{"$type":"Game.GameData.AttributeGameData, Assembly-CSharp","DebugName":"Constitution","ID":"72712dca-8f95-42ef-bca1-be2e99f69de3","Components":[{"$type":"Game.GameData.AttributeComponent, Assembly-CSharp","Type" ... ...

To get it to look like this:

{
  "GameDataObjects": [
    {
      "$type": "Game.GameData.GlobalGameSettingsGameData, Assembly-CSharp",
      "DebugName": "GlobalGameSettings",
      "ID": "eddfc852-ccb9-4884-b901-e77e8ca31b48",
      "Components": [
        {
          "$type": "Game.GameData.CharacterStatsSettingsComponent, Assembly-CSharp",
          "BasePlayerLevelCap": 20,
          "MaxCharacterLevel": 30,
          "AttributeAverage": 10,
          "MaxPerceptionDistance": 7,
          "MaxStealthRadius": 4,
          "DefaultWalkSpeed": 2,
          "DefaultRunSpeed": 4,
          "DefaultAnimalCompanionWalkSpeed": 2,
          "DefaultAnimalCompanionRunSpeed": 5.5,
          "CombatHealthRechargeRate": 1,
          "NormalHealthRechargeRate": 10,
          "HealthRechargeDelay": 3,
          "ModalRecoveryTime": 3,
          "HitMultiplier": 1,

Solution 1:

You need to install JSON Viewer plugin in NotePad++. plugins > plugin Manager > JSON Viewer > Install. After plugin install select text you want to format and click on plugins > JSON Viewer > Format JSON.

Checkout latest version of Notepad++ to get all updated and latest plugins.