mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +00:00
add working with json data
jq command
This commit is contained in:
parent
aea54c126c
commit
b310c4acbe
@ -2409,6 +2409,13 @@ type pip
|
||||
#5. Now you can install your pip package, here requirements.txt is simply a txt file containing all the packages you want. (e.g tornado==4.5.3).
|
||||
pip install -r requirements.txt
|
||||
|
||||
```
|
||||
##### working with json data
|
||||
```bash
|
||||
#install the useful jq package
|
||||
#sudo apt-get install jq
|
||||
#e.g. to get all the values of the 'url' key, simply pipe the json to the following jq command
|
||||
jq '.[].url'
|
||||
```
|
||||
|
||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||
|
Loading…
Reference in New Issue
Block a user