Skip to content
0:00 / 0:00

#json#jsonpath#yaml

JSON PATH for Beginners - 1/3

KodeKloud

503K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.

Beginner. No background in the topic needed.

41K views7 years ago2 recommendations

Programming languagesTools and practiceData structures

An introduction to querying JSON datasets using JSON Path, covering dictionaries, lists, and basic filtering criteria.

Get introduced to querying JSON Data sets with JSON PATH along with practice tests to practice what you learn in the video. Access the coding exercises at: kodekloud.com/p/json-path-quiz We will start with a quick recap of YAML, and the differences between YAML and JSON. We will then look at JSON Path where we see how we can get started with querying a JSON data set that consists of dictionaries, lists, lists, and dictionaries, and how to apply criteria to our query. And finally, we will look at how to access the practice exercises associated with this video and how to navigate through the test. Note that this is for the absolute beginners so we are going to go slow and start with really simple examples and use cases. And you will then get to practice what you learned and test your skills. So let’s get started and before we begin, remember to subscribe to my channel to stay up to date with new videos like this. #JSONPATHforBeginners #KodeKloud

Why it's here

2 people recommend this

What people say. Recommended as a helpful crash course for understanding JSON Path querying, especially when preparing for Kubernetes exams.

u/Telingerin r/kubernetes • Recommends

On “Understanding YAML Structure for CKA”

Once I understood lists and dictionaries the yaml format was easy to interpret. Specifically for the CKA I copied examples from the official documentation for most of my work and if required used --dry-run=client - o yaml for the rest. Going into the exam I was worried about time. However, I found that I had plenty even when searching for code snippets and applying them. Side note: While I never had any jsonpath questions in my exam this youtube video series helped with both understanding lists and dictionaries and how to find things with jsonpath. [video

u/the_most_interestingin r/kubernetes • Recommends

On “JSON Path question”

This is kind of a crash course. Json is broken up into objects and these objects might have child objects. So for example if we had this json object. {Person: {First_name: John, Last_name: Smith, Age: 42,} And let’s say we wanted to access the last name field. Your query would look something like this: .Person.Last_name And the output would be: Smith Now some of these objects can have something called a list and its accessed similar to how you would an array. A list will be encapsulated in square brackets []. For example: {Person: {First_name: John, Last_name: Smith, Age: 42, Favorite_Books: [ Name: Harry Potter, Name: Lord of the rings]} Let’s say you w…