Documentation

toJSON()

Returns an array that contains all objects in the list.

toJSON(): any;

Related