json Controls Table
fun ReportBuilder.jsonControlsTable(controls: List<JsonControlData>, caption: String? = "JSON Controls", jsonValueWidth: Int = 60, includeComment: Boolean = true)(source)
Appends a table of JSON controls from controls.
Columns: Key | Type Hint | Value | Comment (Comment column omitted when includeComment is false).
The Type Hint column appears before the Value column because it conveys the expected Kotlin type and is more useful for at-a-glance inspection than the raw JSON string. The Value column is truncated to jsonValueWidth characters and suffixed with "…" when the JSON string exceeds that width.
If controls is empty a short paragraph noting the absence is emitted instead of an empty table.
Parameters
controls
list of JsonControlData DTOs to tabulate
caption
optional table caption; defaults to "JSON Controls"
json Value Width
maximum characters shown in the Value column before truncation
include Comment
false omits the Comment column