API Reference > presentation-common > Hierarchies > Node > Node.toJSON 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 presentation/common/src/presentation-common/hierarchy/Node.ts Line 138 Last Updated: 20 June, 2023