APIBooking methodsserialize()On this pageserialize() Description Serializes Booking data into a JSON arrayUsageserialize(): [];ReturnsReturns data array.Example// create Bookingconst booking = new booking.Booking("#root", { data, // configuration parameters});console.log(booking.serialize());