Skip to content

ServiceNow.Core

SNow.Core.Utils.JsonConverterOptions.CustomBooleanConverter

JsonConverterOptions.CustomBooleanConverter.CustomBooleanConverter(BooleanFormat) Constructor

Handle how boolean are (des)serialized.

csharp
public CustomBooleanConverter(SNow.Core.Utils.JsonConverterOptions.BooleanFormat format=SNow.Core.Utils.JsonConverterOptions.BooleanFormat.Text);

Parameters

format BooleanFormat
Specifies how the boolean should be formatted, default is text

Released under the MIT License.