How To Format Json In Vim
1
Paste your ugly JSON in Vim
Enter visual mode using ‘v’ and paste the ugly JSON.
2
Use Python to format the JSON
In normal mode type:
:%!python -m json.toolBeautiful.
3
Paste your ugly JSON in Vim
Enter visual mode using ‘v’ and paste the ugly JSON.
4
Use Python to format the JSON
In normal mode type:
:%!python -m json.toolBeautiful.
5
Paste your ugly JSON in Vim
Enter visual mode using ‘v’ and paste the ugly JSON.
6
Use Python to format the JSON
In normal mode type:
:%!python -m json.toolBeautiful.
7
Paste your ugly JSON in Vim
Enter visual mode using ‘v’ and paste the ugly JSON.
8
Use Python to format the JSON
In normal mode type:
:%!python -m json.toolBeautiful.
9
Paste your ugly JSON in Vim
Enter visual mode using ‘v’ and paste the ugly JSON.
10
Paste your ugly JSON in Vim
Enter visual mode using ‘v’ and paste the ugly JSON.
11
Paste your ugly JSON in Vim
12
Use Python to format the JSON
In normal mode type:
:%!python -m json.toolBeautiful.
13
Use Python to format the JSON
In normal mode type:
:%!python -m json.toolBeautiful.
14