toJSON method

dynamic toJSON ()

Implementation

toJSON(){
  return {
    "tagName": this.context.tagName,
    "props": this.context.props,
    "children": this.context.childrens,
  };
}