Skip to end of banner
Go to start of banner

Build a JSON Table from an Array - 8.x

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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 NameAdvanced 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 includeda,b,c
Column settings > Numbering & Totaling > Insert auto number columnOn
Column settings > Numbering & Totaling > Auto total numeric columnsOn
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!



  • No labels