**OpenAI won't let you "escape" freely in JSON mode**

> TL;DR Accented characters like é may be escaped in JSON as \\u00e9 . We found that OpenAI’s and Azure OpenAI’s endpoints can’t emit these correctly in JSON mode: after the prefix \\u00 , the decoder allows only control-character completions ( \\u0000 - \\u001f ). So é cannot form. The output stays valid JSON but holds the wrong bytes — typically a NUL plus literal e9 ( \\u0000e9 ). Once parsed, those control bytes could b...

**来源信息**
- **来源**:Hacker News:AI 热帖
- **分类**:ai-models
- **发布时间**:2026-06-25 20:54(北京时间)
- **原文**:[打开原文](https://research.giskard.ai/blog/structured-output)