Convert an Object to a Minified JSON String
The following example shows the conversion of an object to the formatted JSON string:
In the above example, we specified an option with
The following example shows the conversion of an object to the formatted JSON string:
In the above example, we specified an option with
WriteIndented=true
as a parameter in the Serialize()
method. This will return a formatted string with indentation.