> Right, that's what I am also trying to see/find.
Sorry, I got confused by your question initially. The query language is not for an
end-user, it is for developers or machines.
So why would a developer use it? One point of the DSL was to have type safe queries and
now we want
him to write JSON strings? Also, what is the result of the query? Entities in JSON format?
I just don't see when a developer would like to use this query format. Maybe for
prototyping or ad hoc experimenting
with some queries. How much easier is that, however, compared to a simple unit test?
JSON here was used as an example of serializable format. The problem
I
was trying to address is to serialize the query in a platform agnostic
way.
Why not use Avro again? That's how we serialise the Work instances. Why now introduce
JSON?
--Hardy