Introduction to jq - Lightweight and Flexible Command-Line JSON Processor

Introduction to jq - Lightweight and Flexible Command-Line JSON Processor

SAP Developers via YouTube Direct link

Capturing data via the variable operator, and how data is or isn't consumed

13 of 26

13 of 26

Capturing data via the variable operator, and how data is or isn't consumed

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Introduction to jq - Lightweight and Flexible Command-Line JSON Processor

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Welcome and introduction
  2. 2 Using the BTP Setup Automator container image for easy access to all the tools incl. jq, ijq and more
  3. 3 Taking a look at some of the jq command line options via jq --help
  4. 4 Starting with jqterm for our session
  5. 5 Considering valid JSON values
  6. 6 Thinking about streams of JSON values
  7. 7 Looking what slurp -s does for us
  8. 8 Considering raw input -R for non-JSON values
  9. 9 Looking briefly at the jq language server
  10. 10 Exploring some more realistic JSON, obtained via the btp CLI
  11. 11 Understanding what data the filter is looking at
  12. 12 Shorthand vs longhand filter expression
  13. 13 Capturing data via the variable operator, and how data is or isn't consumed
  14. 14 Using 'map', passing a filter expression, and how it's similar to JS
  15. 15 Asking for the length of an object gives us the number of properties
  16. 16 Understanding how jq passed data to multiple consuming filters
  17. 17 Producing objects using convenient property shorthand features
  18. 18 Filtering data out with 'select' plus a predicate expression
  19. 19 Sorting with 'sort_by'
  20. 20 Producing a flat list of values for further consumption or file storage, with raw output -r
  21. 21 A brief digression to consider the importance of the array iterator .[] and how it produces multiple values downstream
  22. 22 Looking at what the @tsv and @csv formatters will do for us
  23. 23 Transforming structure with 'group_by' and taking care to understand the new structure produced
  24. 24 Another digression on 'first' being just syntactic sugar for .[0]
  25. 25 Producing a list of data centers providers, with a count
  26. 26 A brief intro to how 'add' can add objects together

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.