File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
Ref: https://gist.github.com/brokaw/95ade1358954cd97d0f2c8e992e14b08
2
2
3
+ #### Making JSON Output More Readable with BBEdit
4
+
3
5
1 . Close bbedit and Place ` pretty-json.sh ` files in ` ~/Library/Application\ Support/BBEdit/Text\ Filters `
4
6
5
7
``` shell
6
- # jq is faster than python
8
+ # NOTE: jq is faster than python so skipping python based solution here
7
9
mv ~ /Desktop/pretty-json.sh ~ /Library/Application\ Support/BBEdit/Text\ Filters
8
10
```
9
11
10
12
2 . Restart bbedit.
11
13
3 . If you face issue in above file
12
14
[ refer] ( mac-configurations/python/fix-Errors.md )
15
+
16
+ - If you want to format entire file then go to option ` Text ` -> ` Apply Text Filter ` -> ` pretty-json `
17
+ - If you want to format only portion of file, then select portion of texts and then select option ` Text ` -> ` Apply Text Filter ` -> ` pretty-json `
You can’t perform that action at this time.
0 commit comments