/
Build a JSON Table from an Array - 8.x
Build a JSON Table from an Array - 8.x
On this page
Overview
This page shows how you produce a simple table from JSON data using the JSON Table macro, which is part of the Advanced Tables for Confluence app.
Macro Browser Input
Select this Macro
Macro Name | Advanced Tables - JSON Table |
Macro Syntax | {json-table} |
Define these Parameters/Values
JSON Table settings > Data format > Paths to fields | $ |
JSON Table settings > Data format > Paths to fields to be included | a,b,c |
Column settings > Numbering & Totaling > Insert auto number column | On |
Column settings > Numbering & Totaling > Auto total numeric columns | On |
Macro body | [{a:10,b:20,c:30,d:40},{a:15,b:6}] |
Screenshot
Wiki Markup Input
{json-table: paths=$| fieldPaths=a,b,c| autoNumber=true| autoTotal=true} [{a:10,b:20,c:30,d:40},{a:15,b:6}] {json-table}
Example Result
Other Examples
Visit our full list of product examples for additional inspiration!
, multiple selections available,
Related content
JSON Table macro - 8.x
JSON Table macro - 8.x
More like this
Query and Transform your Data with JSONata
Query and Transform your Data with JSONata
More like this
How to configure the JSON Table macro to manipulate the row data in Confluence
How to configure the JSON Table macro to manipulate the row data in Confluence
More like this
Create a dynamic table
Create a dynamic table
More like this
Table Data
More like this
Using Atlassian Wiki Markup to Create a Table in the Description
Using Atlassian Wiki Markup to Create a Table in the Description
More like this