This lesson is part of Vibe Coding.

Unlock this course →Already bought it? Log in

JSON, explained simply

2:25

How AI apps turn a model reply into data they can use — the idea behind every AI product.

Transcript preview

the way all these applications are able to use AI to do stuff is by JSON. The whole thing happened because of JSON. I'll show you an example here. Yeah. So this is what JSON looks like. And initially, when ChatGPT launched, it used to be just a text response thing, right? It'll just respond with text. It'll be like, "Hey," you'll say, "Hello." It'll reply something like that. But this, because AI got good at responding like this with inf-- so this is called key and a value, key-value pair. And this whole thing is a JSON, right? Because it got structured like this, that was the whole reason why all the application are able to use that text and able to do anything. That's how I started. The whole reason for existence of my product, one of the main product, is this. If this was not happening, I could not have converted that input into a actual usable s-- thing, right? Doing some action. So same thing it's asking over here. Some people can get confused. That's why I wanted to make sure this tool schema is clear, that what will happen is you'll be providing the image to Claude, and the Claude will be providing information like this. Just to confirm, if Claude will provide information like, you know, the paragraph, how will you differentiate what is the macro, what is the pro-- this thing, right? Which it can sound very obvious. You'll be like, I'll just make another API call to get that. But you don't know how that is happening, right? That part-- API, how to distinguish what the text is and what things are. That is happening because of this JSON part. Okay? So I'll just say that, okay, yeah, the first choice is correct. Now, it's suggesting the folder naming. I have already told that, and done. So it asked me a few questions, and now it will continue doing the plan mode. We haven't started the executions yet. We want to make sure that the plan thing is happening right now, and that is what we are focusing on. So let's give it a few more seconds. Meanwhile, I want few things for you guys to be installed. So if you want to build a mobile application, if you're using Windows, you need to have Android Studio, right?…

The full lesson — video and transcript — is part of Vibe Coding.

Get Vibe Coding →