Converts the object to JSON.
public static string ToJson(object? value)
parameter | description |
---|---|
value | The value. |
The JSON.
Converts the object to JSON.
public static string ToJson(object? value, JsonSettings? settings)
parameter | description |
---|---|
value | The value. |
settings | The settings. |
The JSON.