Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Converts JSON to HTML.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JSON | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
json | A JSON text or reference. | {"key":"value"} | |
Flags | The flags for processing. Currently you can pass 1 to exclude html header and just get a HTML table. |
0 | Optional |
CSS Style | Extra CSS / HTML to include. | Optional |
Returns HTML text or error.
Convert some JSON:
MBS("JSON.ToHTML"; JSON Input; 0;
/* CSS style to include */
"<style>
td
{
vertical-align:top;
}
.odd
{
background-color: white;
}
.even
{
background-color: #DDD;
}
</style>")
This function checks for a license.
Created 26th April 2018, last changed 26th April 2018