ontocast.cli.split_chunks¶
json_to_md(data, title='JSON Data', depth=1)
¶
Convert nested JSON data to Markdown format.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
dict | list
|
The JSON data (dict or list) |
required |
title
|
str
|
Title for the top-level markdown document |
'JSON Data'
|
depth
|
int
|
Current heading depth (internal recursion parameter) |
1
|
Returns:
| Type | Description |
|---|---|
str
|
Markdown formatted string |