Hacker News new | ask | show | jobs
by rzzzt 2146 days ago
The advantage is that you don't need to have another parser at the ready to parse your schema definition.
1 comments

You can also more easily generate schemas, or generate things from schemas, if they're in JSON.

Sure, you can still do these things when schemas are a non-JSON format, but it increases the barrier of entry to writing tooling on top of schemas.