Parsing analyzes a serialized or textual representation according to syntax rules and produces a structured or executable form. In API filtering, the server parses SQL-style query strings before evaluating them. section 22.3.1
Structured filtering moves parsing responsibility to the client, which sends a schema directly for evaluation. Both approaches can express equivalent filters, so the choice mainly concerns usability and future flexibility. section 22.3.1
Apply parsing and serialization as opposing transformations:
- Parse a string query into a structured representation. section 22.3.1
- Serialize a structured query into a string representation. section 22.3.1
Filtering ChatRoom resources
Parse `SELECT * FROM ChatRooms WHERE title = "New Chat!";` into an equivalent structured filter such as `{ title: "New Chat!" }`.












