Reference getObject()

getObject()

Warning

p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)

Retrieves all table data and returns as an object. If a column name is passed in, each row object will be stored with that attribute as its title.

Examples

Syntax

getObject([headerColumn])

Parameters

headerColumn
String: Name of the column which should be used to title each row object (optional)

Returns

Object:
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.Table.js and open a pull request!

Related References