GraphQL Working Draft
Why not have the query in JSON?  Now you need a new parser.<p>EDIT: Thanks for all the replies, all of them very good points, and clearly show that JSON is not the most elegant option for a complex DSL.