Serialize and deserialize React components to JSON by React 2018-05-17 React serialize serialize and deserialize React components to JSON. View demo Download Source serialize( <div> <h1 align="center"> <blink>Hello</blink> </h1> </div> ) ⇄ deserialize({ type: "div", props: { children: { type: "h1", props: { align: "center", children: { type: "blink", props: { children: "Hello" } } } } } }) Install npm i react-serialize GitHub