mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-20 12:36:21 +02:00
Use Python tool to beautify JSON into unminified /json file
This commit is contained in:
parent
f3e1fe1b30
commit
b0ef43db58
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir -p ../json
|
mkdir -p ../json
|
||||||
node md2json.js ../README.md > ../json/api.json
|
node md2json.js ../README.md > ../json/api.min.json
|
||||||
|
python -m json.tool ../json/api.min.json > ../json/api.json
|
||||||
cat ../json/api.json
|
cat ../json/api.json
|
||||||
ls -l ..
|
|
||||||
ls -l ../json
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue