On this page
Overview
This page shows how you create 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 source > Method of locating JSON data (URL) > URL of JSON data | https://bobswift.atlassian.net/rest/api/latest/project/TBL/version |
JSON Table settings > Data format > Paths to fields | values |
JSON Table settings > Data format > Paths to fields to be included | name,description,id,releaseDate |
Column settings > Sorting > Automatically sort in descending order | On |
Column settings > Sorting > Automatically sort by this column | Name |
Screenshot
Wiki Markup Input
{json-table: paths=values| fieldPaths=name,description,id,releaseDate| url=https://bobswift.atlassian.net/rest/api/latest/project/TBL/version?maxResults=100| sortDescending=true| sortColumn=Name} {json-table}
Live Example
Other Examples
Visit our full list of product examples for additional inspiration!