UtilJsonMinifyJson Method
Minifies the contents of a beautified JSON string.
Namespace: DevCase.Core.DataProcessing.JsonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static string MinifyJson(
string json
)
Public Shared Function MinifyJson (
json As String
) As String
Dim json As String
Dim returnValue As String
returnValue = UtilJson.MinifyJson(json)
public:
static String^ MinifyJson(
String^ json
)
static member MinifyJson :
json : string -> string
No code example is currently available or this language may not be supported.
- json String
-
The source (beautified) JSON string.
String
The resulting minified JSON string.
This is a code example.
No code example is currently available or this language may not be supported.
Dim json As String = <a>
{
"colorsArray":[{
"colorName":"red",
"hexValue":"#f00"
},
{
"colorName":"green",
"hexValue":"#0f0"
}
]
}</a>.Value
Dim minified As String = MinifyJson(json)
MessageBox.Show(minified)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.