A very simple utility for generating HTML from a JSON. Useful while working with isomorphic apps where you need to share markup between client and server.
var json2dom = ; var json = tagname:"div" attributes: id:"hello" class:"world" value:"hello, World" children: tagname:"img" attributes: src:"hello.png" tagname:"p" value:"content of child" ; var html = ;
would create an HTML string like
content of childhello, World