Show / Hide Table of Contents

Method ToJsonString

| Improve this Doc View Source

ToJsonString(Boolean, IJsonCustomizer)

Serializes this data validation result into JSON.

Declaration
public string ToJsonString(bool isPretty, IJsonCustomizer customizer = null)
Parameters
Type Name Description
System.Boolean isPretty

Determines whether serialized JSON should be indented.

IJsonCustomizer customizer

The customizer for JSON serialization.

Returns
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest