JsonValueAsBoolean Property

Gets the bool value of this JsonValue instance if it has Boolean Type; or , if its Type is not Boolean. To interpret other types as boolean you can use the AsBoolean(JsonValue, JsonValueType) extension method instead.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public bool? AsBoolean { get; }

Property Value

NullableBoolean

See Also