Format and restructure JSON on the CLI using jq library (command line)

Published: 14 July 2021
on channel: Eddie Jaoude
1,019
43

jq CLI tool - is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. jq can mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you'd expect.
Check out their docs here https://stedolan.github.io/jq/

DataStax - we used AstraDB in our JSON Restful API example to use jq. DataStax's AstraDB is a multi-cloud DBaaS Built on the Open Source project Apache Cassandra. Start in minutes. No credit card required. Up to 40 GB free monthly. Build faster with REST, GraphQL, CQL and JSON/Document APIs. Deploy multi-tenant or dedicated databases on AWS, Azure, or GCP.
Sign up and use for FREE, have a NoSQL DB in minutes http://links.eddiejaoude.io/t/CTHgSEo...

LEARN MORE

I now have a 2nd YouTube channel for short video clips of 60s or less, subscribe ...
   / eddiejaoudetv  

JOIN our inclusive open source community EddieHub now for FREE ... http://eddiehub.org, also checkout my website and sign up to our community NEWSLETTER... http://eddiejaoude.io for my live stream + video schedule and community calls

Also join our community GitHub organisation by creating an issue with the type "invite me to the organisation" :)

SERVICES I USE AND RECOMMEND

Some of these might be affiliate links, no extra cost you to, but I get a little $ if you sign up, plus you might get a discount too

NoSQL serverless database with DataStax, you will get $25 FREE credit every month http://links.eddiejaoude.io/t/TaNk0FI...
Live streaming with Streamyard http://links.eddiejaoude.io/t/pYlzGjc...
Cloud hosting with Digital Ocean, you will get $100 FREE credit http://links.eddiejaoude.io/t/EAaCRWh...
Membership, Newsletters, CRM all in one with Kartra http://links.eddiejaoude.io/t/pQ5W3FR...
Awesome backup platform, BackBlaze http://links.eddiejaoude.io/t/4rqTZjL...

COMMUNITY SPONSORS

A BIG thank you to my GitHub Sponsors:
***
Stephen Mount http://github.com/stemount
Nicholas Carrigan https://github.com/nhcarrigan
***

Santosh Yadav https://github.com/santoshyadavdev
Andrew Cunliffe https://github.com/andrew-cunliffe
Alexander Stoichkov https://github.com/SashoStoichkov
Allan Regush https://github.com/AllanRegush

FIND ME ON OTHER SOCIAL PLATFORMS

Don’t forget to support my channel by subscribing below, it’s free, and also share with your friends. Subscribe now!!
https://www.youtube.com/eddiejaoude?s...

Follow on other socials for behind the scenes footage, join discord to continue the conversation...

http://eddiejaoude.io
https://github.com/eddiejaoude
   / eddiejaoude  
  / eddiejaoude  
  / eddiejaoude  
  / eddiejaoude  
  / discord  
http://github.com/EddieHubCommunity

Format and restructure JSON on the CLI using jq library (command line)