This document describes the default compact JSON format and the formatted JSON format.
By default, the Logic4 API output is compact JSON due to:
In future, we will compact the JSON even more:
For backwards compatibility reasons, the Logic4 API still supports the formatted JSON output containing:
To request the formatted JSON output, specify X-LOGIC4-FormattedJson
in the request header (without a value).
It is not recommended to use this because the output is much larger. It is also slower in terms of generation and transferring over the network.