Merging JSON documents in the command-line - jq tutorial

Szymon Stepniak
Szymon Stepniak
22.2 هزار بار بازدید - 4 سال پیش - In this jq tutorial video,
In this jq tutorial video, I show you how you can merge two JSON files in the command-line using the jq JSON processor. I explain how to merge those files using a simple "add" filter, then I explain how to merge nested objects, as well as how to merge arrays of different objects.

⏱️ Timestamps:
00:00 | Intro
00:15 | Input JSON files
00:42 | Merging JSON documents using an "add" filter
01:55 | Merging JSON documents using a multiply operator
02:26 | Merging nested arrays explicitly
04:14 | Merging JSON documents using a "reduce" filter
08:36 | Conclusion

☕️ BUY ME A COFFEE (thanks in advance! 😀)
- https://e.printstacktrace.blog/buy-me...

📧 JOIN MY NEWSLETTER
- https://e.printstacktrace.blog/newsle...

🔥 MORE JQ TUTORIAL VIDEOS & RESOURCES:
- jq tutorial playlist - jq tutorial
- jq cookbook blog posts - https://e.printstacktrace.blog/jq-coo...

📷 CAMERA GEAR I USE:
- My camera             - https://e.printstacktrace.blog/gear/c...
- 25mm f1.7 lens     - https://e.printstacktrace.blog/gear/l...
- Microphone            - https://e.printstacktrace.blog/gear/m...
- LED lights                - https://e.printstacktrace.blog/gear/l...
- Check my full kit     - https://kit.co/wololock/my-youtube-st...

🛠️ TOOLS & SERVICES I USE TO:
- design YouTube thumbnails (Canva)                      - https://e.printstacktrace.blog/canva?...
- improve my grammar skills (Grammarly)               - https://e.printstacktrace.blog/gramma...
- develop mailing list (ConvertKit)                              - https://e.printstacktrace.blog/conver...
- listen to audiobooks (Audible, 30 days free trial)  - https://e.printstacktrace.blog/audibl...
- read Kindle ebooks (Kindle Unlimited)                    - https://e.printstacktrace.blog/kindle...
- secure network connection with VPN () - https://e.printstacktrace.blog/nordvp...
- improve SEO on YouTube (VidIQ)                             - https://e.printstacktrace.blog/vidiq?...
- host WordPress websites (Bluehost)                      - https://e.printstacktrace.blog/blueho...

❤️ SUPPORT MY WORK
- Github Sponsors   - https://github.com/sponsors/wololock
- Open Collective     - https://opencollective.com/eprintstac...
- Other options         - https://e.printstacktrace.blog/suppor...

👋 STAY IN TOUCH:
- Blog                         - https://e.printstacktrace.blog?utm_source=jq03
- Twitter                     - Twitter: wololock
- LinkedIn                  - LinkedIn: szymon-st%C4%99pniak-9a0b1630
- Github                     - https://github.com/wololock

✉️ CONTACT:
For all subscribers, please use this email: [email protected]
For business inquires only, please use this email: [email protected]

DISCLAIMER: Some of the links above are affiliate links. If you decide to click that link and subsequently make a purchase, I will get a small percentage from your purchase. Using the affiliate link does not affect the final price of the product. The commission I earn comes at no additional cost to you. Thank you for supporting my channel so I can continue to provide you with free content on a regular basis!

And remember - it's all about helping YOU to become a better software developer! Thanks!

#eprintstacktrace #szymonstepniak
4 سال پیش در تاریخ 1399/05/22 منتشر شده است.
22,264 بـار بازدید شده
... بیشتر