JsonValueExtensionsToJson(NullableBoolean) Method
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
public static JsonValue ToJson(
this bool? value
)
<ExtensionAttribute>
Public Shared Function ToJson (
value As Boolean?
) As JsonValue
public:
[ExtensionAttribute]
static JsonValue ToJson(
Nullable<bool> value
)
[<ExtensionAttribute>]
static member ToJson :
value : Nullable<bool> -> JsonValue
- value NullableBoolean
- The value to convert.
JsonValueA
JsonValue instance that is the JSON representation of the specified
value.In Visual Basic and C#, you can call this method as an instance method on any object of type
NullableBoolean. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).