Show / Hide Table of Contents

Method ToJsonString

| Improve this Doc View Source

ToJsonString(IDataValidationResults, Boolean, IJsonCustomizer)

Serializes IDataValidationResults dictionary into JSON string.

Declaration
public static string ToJsonString(this IDataValidationResults validationResults, bool isPretty, IJsonCustomizer customizer = null)
Parameters
Type Name Description
IDataValidationResults validationResults

The IDataValidationResults dictionary.

System.Boolean isPretty

Determines whether serialized JSON string should be indented.

IJsonCustomizer customizer

The customizer for JSON serialization.

Returns
Type Description
System.String

The serialized JSON string.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest