Using AI Structured Output with NextJS & React @jherr
Using AI Structured Output with NextJS & React  @jherr
Uploaded September 2024 | Updated November 2026, 1 hour ago
Let's dig into OpenAI's structured output with three different ways, including streaming JSON, using React and NextJS.

Code: github.com/jherr/streaming-structured-output

πŸ‘‰ ProNextJS Course: https://pronextjs.dev
πŸ‘‰ Don't forget to subscribe to this channel for more updates: bit.ly/2E7drfJ
πŸ‘‰ Discord server signup: discord.gg/ddMZFtTDa5
πŸ‘‰ VS Code theme and font? Night Wolf [black] and Operator Mono
πŸ‘‰ Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF

00:00 Introduction
01:24 Building NextJS with ShadCN
04:05 Structured Output with Zod
05:10 Creating the Vercel AI API Route
06:46 Building the Vercel AI Page
08:26 ShadCN Integrates With V0
12:15 DIY AI API Endpoint
13:30 Using the DIY AI Endpoint
14:16 Streaming Structured Output
17:30 Outroduction
Using AI Structured Output with NextJS & ReacttRPC vs oRPC: Typesafe API battle!React Hates Sort, Shift, Push, Pop and Unshift5 Hidden React Server Function TRAPS Beginners Fall IntoVercel Native + TanStack AI using AG-UI!AI Migration: NextJS to TanStack StartAI Is Destroying Tech Interviews, And They Deserve ItBeware of auto Mode in the NextJS App RouterLIVE! Finally Fix Your Issues With JS/React Memory Management 😀TanStack DB In 15 Minutes! ORM or State Manager?Copilot Chat Is The Droid Youve Been Looking For!Secret React Server Component Patterns They Dont Want You To Know
Jack Herrington |

Using AI Structured Output with NextJS & React

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER