Produces pretty-formatted, indented JSON from an unformatted JSON string.
Formats a raw JSON string by breaking out each property on it's own line and indenting hierarchical levels for easier reading and display.
Generated formatted JSON looks like this:
{
"key1": "test value",
"key2": "value 2",
"key3": {
"Address": "32 kaiea",
"Phone": "123-123-1231"
}
}
o.FormatJson(lcJson)
Return Value
Indented JSON
Parameters
lcJson
Any valid JSON string
Remarks
Requires .NET and wwDotnetBridge.dll, NewtonSoft.Json.dll
See also:
Class wwJsonSerialize© West Wind Technologies, 2024 • Updated: 02/14/24
Comment or report problem with topic