The REAL Way to master JQ

  Рет қаралды 4,891

Earthly

Earthly

Күн бұрын

Earthly ➤ earthly.dev
In this tutorial, we learn to use JQ to manipulate JSON documents! We explore the powerful features and functions of JQ, guiding you through constructing, sorting, filtering, and combining functions with pipes to enhance your JSON manipulation skills.
Explore constructors, functions for sorting and reversing, and learn how to transform JSON data using pipes and functions. Whether you're a beginner or seeking advanced tips, this video provides the insights you need. For a deeper dive, check out the longer video linked in the description.
Don't forget to like, comment, and explore earthly, an open-source build tool, on their KZfaq channel.
00:00 Introduction
00:15 Array and Object Indexing
01:45 Constructors
03:50 Pipes and Functions
04:58 Sample JSON Curl
05:50 The Three Levels
06:20 Another Example with Pipes
07:10 Write your own function

Пікірлер: 7
@rippy56
@rippy56 6 ай бұрын
Quick, to the point, and plenty of examples for the info to stick. Good video, thanks. :)
@EarthlyTech
@EarthlyTech 6 ай бұрын
You're welcome!
@cil7ea
@cil7ea 5 ай бұрын
Hello. I recently found your channel. I love your content. I noticed that you use some sort of AI video editing software to make your eyes point to the camera all the time. Except it doesn't work that well imho. Your eyes are beautiful, no need for the edit. Keep it up!
@what_um_what6690
@what_um_what6690 6 ай бұрын
Does it have any functionality to "explore" large json files? Like getting ALL keys and their types etc?
@EarthlyTech
@EarthlyTech 6 ай бұрын
Hey, thanks for watching! jq 'keys' will return all keys. jq 'with_entries(.value |= type)' should give you their types. But often to explore the structure I'm just looking at the actual json manaully and building query from there.
@what_um_what6690
@what_um_what6690 6 ай бұрын
@@EarthlyTech Thanks for the quick response! Usually, if the object is too large it's difficult to explore for me and I resort to loading it in python and treating as dictionary to see possible values. I'll give "jq" a shot next time around!
@EarthlyTech
@EarthlyTech 6 ай бұрын
@@what_um_what6690 yeah, at a certain point Python is your friend for sure, but let me know how it goes.
The secret to making Golang error handling a breeze
13:46
Earthly
Рет қаралды 9 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 21 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 112 МЛН
Every Python Function Explained
23:22
Tech With Tim
Рет қаралды 108 М.
fx: A better JSON tool than jq
4:20
Jeffrey Chupp
Рет қаралды 1,1 М.
NAVIGATE JSON ON TERMINAL F(X)  | JQ
4:35
Ashish Alex
Рет қаралды 445
5 Command Line Tools That Boost Developer Productivity (2023)
8:02
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 417 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 138 М.
8 Must Know JavaScript Array Methods
10:05
Web Dev Simplified
Рет қаралды 1 МЛН
Intro to fzf
8:35
Andrew Courter
Рет қаралды 15 М.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 266 М.
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 784 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН