Skip to main content

serialize()

Description

Serializes Booking data into a JSON array

Usage

serialize(): [];

Returns

Returns data array.

Example

// create Booking
const booking = new booking.Booking("#root", {
data,
// configuration parameters
});

console.log(booking.serialize());