Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.Utility.JsonSerialize Method

Serializes an object to a JSON string.

Class: YetaWF.Core.Support.Utility
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Syntax

public static string JsonSerialize(
    object? value,
    bool Indented = false );

Parameters

value

The object to serialize.

Indented

Defines whether indentation is used in the generated JSON string.

Return Value

Returns the serialized object as a JSON string.

See Also YetaWF.Core.Support.Utility ClassYetaWF.Core Overview