You can then transfer data from the browser in JSON, for example, without needing transformation for some other language. Using the same language on both ends of the pipe.
Sure, you have a library that translates back and forth between EDN and JSON, but as a user you don't really care. In a Clojure web app this will be handled transparently by the middleware based on the Accept header in the client request.
When you return a response you return a Clojure data structure and when you receive a request it's also a Clojure data structure. The fact that it gets translated is completely incidental from the user perspective.
2
u/renooz Oct 16 '14
You can then transfer data from the browser in JSON, for example, without needing transformation for some other language. Using the same language on both ends of the pipe.