## Details

This function returns the [plain JSON representation](#notation/elements-json) of all elements in the collection, the same format which is used at initialisation, in [`cy.load()`](#core/graph-manipulation/cy.load), in [`cy.add()`](#core/graph-manipulation/cy.add) etc.