Hacker News new | ask | show | jobs
by leebyron 3935 days ago
The GraphQL language syntax is useful because it naturally expresses more patterns than JSON can. However GraphQL is eventually parsed into an AST which is represented as JSON, it's always possible to write that JSON directly.

Ultimately syntax is useful to express domain-specific concepts in a terse way.