Method ToJsonString
| Improve this Doc View SourceToJsonString(Boolean, IJsonCustomizer)
Serializes this validation error messages to JSON string.
Declaration
public string ToJsonString(bool isPretty, IJsonCustomizer customizer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | isPretty | Determines whether serialized JSON string should be indented. |
| IJsonCustomizer | customizer | The customizer for serialization. |
Returns
| Type | Description |
|---|---|
| System.String |