Prompt Engineering — Master Course
64 topics across 15 modules, from what a token is through to full capstone systems. Every topic is a short explainer in English and हिन्दी, and every one carries a recorded run you can read — the real prompt, and the real output it produced.
64 topics written · 3 with video ready, 0 of them already carrying the practical in-video. The rest are rendering and appear here as they finish.
Still rendering
“JSON outputs” is written and queued. Its English video is being produced now.
Topic 7.2 · Module 7
JSON outputs
Decide now: what does an empty field look like?
JSON outputs: what this topic covers
Decide now: what does an empty field look like?
Concepts in this topic
- Valid JSON generation
- Schema specification
- Error handling
- API integration
The exercise: Find out why the JSON broke
JSON either parses or it does not, which makes this the one topic where the faults are objective. Each response below fails for a specific, extremely common reason - and one of them parses perfectly and is still wrong.
Three faults break the parser - a preamble, a code fence, a trailing comma - and you have to forbid each one by name, because 'return JSON' does not cover any of them. The fourth fault is worse because it parses: an unpinned schema or an undefined null means your script breaks later, on a response that looked perfect.
What you get on this page
A short explainer video in English and हिन्दी, a 7-minute screen recording of the same idea being done on a real AI product, a recorded run showing the actual prompt and the actual output it produced, and an interactive exercise you can try in the browser. Level: Intermediate. Topic 7.2 of 64, in module 7 — Output Control. Free, no sign-in needed to read or watch.