Splits and indents a raw JSON string and displays it as HTML.

The Font Family Name can be retrieved via the Control Handler where available, e.g. ISControlHandler.Fonts(iseUiFont.ScriptCode).FontFamily.Name

Syntax

ISTextUtilities.JsonIndentHtml(rawJson, [fontFamilyName])

Parameters

NameTypeOptionalByRefDescription
rawJson String The JSON String.
fontFamilyName String Optional If known, the name of the Font Family to format the JSON in the HTML.

Return Value

String

An HTML String with formatted JSON.

Member of:
ISTextUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0