Verified65% confidenceFactExact time
The Claude Code SDK can return structured output in JSON format via the --output-format json parameter.
3
Sources
65%
Confidence
Long-term
Relevance
8/3/2025
First Seen
Sources
Related Entities
Related Claims
VerifiedStructured output imposes constraints on token generation during the decoding phase through JSON Schema or function-calling mechanisms, which is fundamentally different from requesting JSON-format output in the prompt.75% similarUnverifiedThe interface text of Claude Code and Codex is hard-coded into the program's resource files (typically language packages in JSON or JS format) rather than being dynamically read from the system language.73% similarUnverifiedBy instructing the model to return JSON format and then parsing it with json.loads, free-form LLM text can be converted into structured data consumable by programs.72% similarUnverifieddws returns structured JSON by default and can be used with jq to precisely extract fields.71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1729API
curl https://kongchang.com/api/v1/knowledge/claims/1729MCP
get_claim(id=1729)