Method ToJson
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
ToJson()
Converts the given object to JSON.
public string? ToJson()
Returns
- string
Returns the object in JSON form, if possible; returns
nullif the object cannot be represented in JSON form.