make_table_from_json
Convert a JSON array into a formatted ASCII, Unicode, or Markdown table, supporting headers, custom styles, and auto-formatting for numeric columns.
Instructions
Parse a JSON array and render as a table.
Accepts either:
A 2D array: [["Name", "Value"], ["alpha", "1"], ...]
An object with "headers" and "rows" keys: {"headers":["Name"], "rows":[["alpha"]]}
Args: json_data: JSON string has_header: If True (default), first row is treated as column headers fmt: "grid" (default), "box", "safe", or "pipe" style: Table style (for grid fmt) auto_format: Auto-detect numeric columns
Returns: Formatted table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_data | Yes | ||
| has_header | No | ||
| fmt | No | grid | |
| style | No | mysql | |
| auto_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |