JsonValueExtensionsToJson(SByte, Boolean) Method
Namespace: KGySoft.JsonAssembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
[CLSCompliantAttribute(false)]
public static JsonValue ToJson(
this sbyte value,
bool asString = false
)
<ExtensionAttribute>
<CLSCompliantAttribute(false)>
Public Shared Function ToJson (
value As SByte,
Optional asString As Boolean = false
) As JsonValue
public:
[ExtensionAttribute]
[CLSCompliantAttribute(false)]
static JsonValue ToJson(
signed char value,
bool asString = false
)
[<ExtensionAttribute>]
[<CLSCompliantAttribute(false)>]
static member ToJson :
value : sbyte *
?asString : bool
(* Defaults:
let _asString = defaultArg asString false
*)
-> JsonValue
- value SByte
- The value to convert.
- asString Boolean (Optional)
- to convert the value to a JsonValue
with String Type; otherwise, .
JsonValueA
JsonValue instance that is the JSON representation of the specified
value. This parameter is optional.
Default value:
.In Visual Basic and C#, you can call this method as an instance method on any object of type
SByte. 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).