Pretty printing Json

When working with ADF I frequently have to copy paste json code into sql server management studio ( ssms).

Json uses \n for specifying a newline so this is shown in ssms as one large string which is difficult to read.

Solution: Use the program autohotkey to record a hotkey / macro to replace some characters. Now all you have to do is press Ctrl-J.
This is the script:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
^j::
Send, ^h
Send, \\n
Send, {Tab down}{Tab up}
Send, \n
Send, !a
Send, {Enter}
Send, {Escape}
Send, ^h
Send, \\"
Send, {Tab down}{Tab up}
Send, "
Send, !a
Send, {Enter}
Send, {Escape}
Send, ^h
Send, \\t
Send, {Tab down}{Tab up}
Send, {Space}{Space}{Space}
Send, !a
Send, {Enter}
Send, {Escape}
return