Provides JSON formatting functionality.
JsonFormatter
01 Syntax
Microsoft.VisualBasic.Serialization.JSON.Formatter.JsonFormatter
02 Methods
03 Members
Format(
String)Returns a 'pretty printed' version of the specified JSON string, formatted for human consumption.
Parameters
| Name | Type | Description |
|---|---|---|
json | String | A valid JSON string. |
Returns
A 'pretty printed' version of the specified JSON string.
Minify(
String)Returns a 'minified' version of the specified JSON string, stripped of all non-essential characters.
Parameters
| Name | Type | Description |
|---|---|---|
json | String | A valid JSON string. |
Returns
A 'minified' version of the specified JSON string.