BEMJSON to HTML serializer
https://github.com/pvoznyuk/bemjson-to-html
Examples:
JSON / JS object on input
{ block: 'button', content: [ { elem: 'control', content: [{ elem: 'default', content: "COPY", elemMods: { fixed: false } }, { elem: 'default', tag: 'img', mods: { active: true, selected: true } }] } ] }
To HTML →