Extensions
a package of extensions to a jsonModel class object
tabulate
Import:
jsonmodel.extensions
Initialize::
from jsonmodel.extensions import tabulate
json_model = jsonModel(sample_schema)
tabulate(json_model)
Signature:
tabulate(self, format=”html”, syntax=”“)
Description:
a function to create a table from the class model keyMap
Argument | Type | Required | Default | Description |
---|---|---|---|---|
self | object | Yes | None | |
format | str | "html" | string with format for table output | |
syntax | str | "" | [optional] string with linguistic syntax |