/
Building a JSON Table from an Array
Building a JSON Table from an Array
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 add-on.
Macro Browser Input
Select this Macro
Macro Name | JSON Table |
Macro Syntax | {json-table} |
Define these Parameters/Values
Paths to fields | $ |
Paths to fields to be included | a,b,c |
Auto number on each row | selected |
Auto total rows | selected |
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
Build a JSON Table from an Array - 8.x
Build a JSON Table from an Array - 8.x
More like this
Build a JSON table from an array - 8.x
Build a JSON table from an array - 8.x
More like this
How to build a JSON table from an array - Cloud
How to build a JSON table from an array - Cloud
More like this
Using Augments with JSON Table
Using Augments with JSON Table
More like this
JSON Table macro - 8.x
JSON Table macro - 8.x
More like this
Use Augments with JSON Table - 8.x
Use Augments with JSON Table - 8.x
More like this
Need support? Create a request with our support team.