Use PinUtility function to write Json structure data.