html5lib2jsonml library

Functions

encodeToJsonML(Node node) → Object
Takes a Document, a Node or an Element and returns the JSON object.