//Define the objectvar finalInfo = new Object(); // Assign values to the object = ''; = ''; = ''; = ''; = '';//Convert object to json formatvar finalInfoStr = (finalInfo);