Node.toJSON Function

Deprecated  in 3.x. Use Node.

Serialize given Node to JSON

toJSON(node: Node): NodeJSON

Parameter Type Description
node Node  

Returns - NodeJSON

Defined in

Last Updated: 20 June, 2023