On 5 July 2012 04:32, Kyle Cordes <[email protected]> wrote:
> If anyone is aware of a Clojure wrapper for this, or has found 4j to work
> well as-is, I'd appreciate hearing about it.

>From a cursory glance at the documentation, data is passed into jade4j
in the form of Java maps and lists; presumably these are not modified
by the template engine, so you can simply pass in Clojure maps and
vectors (which implement java.util.List, as do Clojure lists, of
course). The keys in the maps should apparently be strings; if you'd
prefer to use keywords, you can use clojure.walk/stringify-keys to
prepare your maps for jade4j's consumption.

Cheers,
Michał

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to