Syntax Errors
Common syntax errors and how the parser recovers.
Common syntax errors
Unbalanced brackets
pt: { object, schema: { x: int } }
---
{ 1 # ✗ expecting-bracket (the '{' is never closed)Missing comma
~ 101 Thomas 25 # one value "101 Thomas 25", not threeUnterminated string
~ "John Doe # missing closing quoteRecovery is bounded by structure
See Also
Last updated
Was this helpful?
