parse Json Ml Node
Type: Function
How to get parseJsonMlNode?
JavaScript
import parseJsonMlNode from 'fontoxml-dom-utils/src/parseJsonMlNode.js'
Transform the given JsonML fragment into the corresponding DOM structure, using the given document to create nodes.
JsonML is always expected to be a JavaScript structure. If you have a string of JSON, use JSON.parse first.
Arguments
jsonml
(Required)
Type: JsonML
The JsonML fragment to parse
document
(Required)
Type: Document
The document to use to create nodes
Returns
Type: Node
The root node of the constructed DOM fragment