Optionalautofalse: a layout leaves the columns' widths alone; absent, it fits the columns the table covers.
OptionalcolumnThe fields on the column axis, outermost first, by index; -2 is where the values sit.
OptionalcolumnShown unless false.
OptionalcolumnThe caption over the column labels in compact form; absent, Column Labels.
OptionalcolumnThe lines of the columns as last laid out, left to right; absent, not laid out.
OptionalconditionalThe table's conditional formats: which sheet rule applies where in the table.
OptionaldataOptionalemptyShown in a crossing no record falls in, unless showEmpty is false.
OptionalerrorShown in place of an error value when showError is true.
OptionalfieldsOne per field of the cache, in the cache's order.
OptionalfiltersThe label, value and date filters, in the order they apply.
OptionalformThe layout of fields added to the table and of the values; absent, compact. Each field keeps its own (PivotFieldJSON.form).
OptionalformatsThe formats a user put on parts of the table, in the order they apply.
OptionalgrandThe caption of the grand totals; absent, Grand Total.
OptionalheaderWhere the laid-out parts start; absent, not laid out.
OptionalhiddenThe items' expand/collapse buttons are hidden; absent, shown.
OptionalhiddenThe field captions and their buttons are hidden; absent, shown.
OptionalindentHow far each level of a compact row field is indented, in characters past the first; absent, 0.
The cells the table's body is laid out on, as an A1 range (A3:C20): where it is anchored.
Its page fields sit above it.
OptionalmultipleA field takes more than one filter; absent, a new filter on a field replaces its last.
OptionalnameOptionalpageOptionalpageThe page fields run across, then down; absent, down, then across.
OptionalpageHow many page fields sit in a row (or a column) before the next; absent, 0, no wrap.
OptionalpartOptionalpreservefalse: a refresh drops the formats a user put on the table's cells; absent, they follow their areas.
OptionalrestThe definition's markup with what is modeled taken out: anything not typed yet.
OptionalrowThe fields on the row axis, outermost first, by index; -2 is where the values sit.
OptionalrowShown unless false.
OptionalrowThe caption over the row labels in compact form; absent, Row Labels.
OptionalrowThe lines of the rows as last laid out, top to bottom; absent, not laid out.
Optionalshowfalse: a crossing no record falls in shows 0 rather than emptyCaption.
OptionalshowAn error value shows as errorCaption.
OptionalstyleThe table style and which of its parts show; absent, no style.
OptionalvaluesThe caption of the values field; absent, Values.
OptionalvaluesThe values are laid out down the rows, or are to be with a second; their position is -2 in rowFields.
OptionalvaluesBelow two values, where a second puts them among the fields of their axis, counted from 0; absent, after the last.
JSON representation of a pivot table.