Hi folks,

My concern about this is that we're already taking liberties with the media 
type application/json. 

Adding this kind of annotation definitely takes us into very neo4j-specific 
territory (which might be a good thing). I responded to the ticket, saying that 
perhaps we should consider a neo4j media type. In that media type we could 
properly define a set of programmatic types that we support, as well as the 
hypermedia controls (links, forms) that we'd like to see.

However what if we didn't use JSON? The Clojure community are thinking about 
introducing the notion of URI into the core language. Once that's implemented 
Ian Robinson, Savas Parastatidis and me along with Stu Halloway are going to 
design the (hyper)media type application/clojure (which will start life as 
application/x.clojure)

Why is this important? Because Clojure already has a sophisticated type system 
and sending round Clojure data structures is just as easy as sending around 
JSON (though admittedly the acronym AJAC does not sound so sexy).    

Jim


_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to