JsonNode.Implicit Operator

Definition

Overloads

Implicit(Nullable<Single> to JsonNode)

Defines an implicit conversion of a specified nullable Single to a JsonNode.

Implicit(Nullable<Guid> to JsonNode)

Defines an implicit conversion of a specified nullable Guid to a JsonNode.

Implicit(Nullable<Int16> to JsonNode)

Defines an implicit conversion of a specified nullable Int16 to a JsonNode.

Implicit(Nullable<Int32> to JsonNode)

Defines an implicit conversion of a specified nullable Int32 to a JsonNode.

Implicit(Nullable<Int64> to JsonNode)

Defines an implicit conversion of a specified nullable Int64 to a JsonNode.

Implicit(Nullable<SByte> to JsonNode)

Defines an implicit conversion of a specified nullable SByte to a JsonNode.

Implicit(Nullable<UInt16> to JsonNode)

Defines an implicit conversion of a specified nullable UInt16 to a JsonNode.

Implicit(UInt64 to JsonNode)

Defines an implicit conversion of a specified nullable UInt64 to a JsonNode.

Implicit(Nullable<UInt64> to JsonNode)

Defines an implicit conversion of a specified nullable UInt64 to a JsonNode.

Implicit(SByte to JsonNode)

Defines an implicit conversion of a specified nullable SByte to a JsonNode.

Implicit(Single to JsonNode)

Defines an implicit conversion of a specified nullable Single to a JsonNode.

Implicit(String to JsonNode)

Defines an implicit conversion of a specified nullable String to a JsonNode.

Implicit(UInt16 to JsonNode)

Defines an implicit conversion of a specified nullable UInt16 to a JsonNode.

Implicit(UInt32 to JsonNode)

Defines an implicit conversion of a specified nullable UInt32 to a JsonNode.

Implicit(Nullable<UInt32> to JsonNode)

Defines an implicit conversion of a specified nullable UInt32 to a JsonNode.

Implicit(Nullable<Double> to JsonNode)

Defines an implicit conversion of a specified nullable Double to a JsonNode.

Implicit(Nullable<DateTime> to JsonNode)

Defines an implicit conversion of a specified nullable DateTime to a JsonNode.

Implicit(Nullable<DateTimeOffset> to JsonNode)

Defines an implicit conversion of a specified nullable DateTimeOffset to a JsonNode.

Implicit(Boolean to JsonNode)

Defines an implicit conversion of a given Boolean to a JsonNode.

Implicit(Nullable<Decimal> to JsonNode)

Defines an implicit conversion of a specified nullable Decimal to a JsonNode.

Implicit(Char to JsonNode)

Defines an implicit conversion of a given Char to a JsonNode.

Implicit(DateTime to JsonNode)

Defines an implicit conversion of a given DateTime to a JsonNode.

Implicit(DateTimeOffset to JsonNode)

Defines an implicit conversion of a given DateTimeOffset to a JsonNode.

Implicit(Decimal to JsonNode)

Defines an implicit conversion of a given Decimal to a JsonNode.

Implicit(Double to JsonNode)

Defines an implicit conversion of a given Double to a JsonNode.

Implicit(Byte to JsonNode)

Defines an implicit conversion of a given Byte to a JsonNode.

Implicit(Int16 to JsonNode)

Defines an implicit conversion of a given Int16 to a JsonNode.

Implicit(Int32 to JsonNode)

Defines an implicit conversion of a given Int32 to a JsonNode.

Implicit(Int64 to JsonNode)

Defines an implicit conversion of a given Int64 to a JsonNode.

Implicit(Nullable<Boolean> to JsonNode)

Defines an implicit conversion of a specified nullable Boolean to a nullable JsonNode.

Implicit(Nullable<Byte> to JsonNode)

Defines an implicit conversion of a specified nullable Byte to a JsonNode.

Implicit(Nullable<Char> to JsonNode)

Defines an implicit conversion of a specified nullable Char to a JsonNode.

Implicit(Guid to JsonNode)

Defines an implicit conversion of a given Guid to a JsonNode.

Implicit(Nullable<Single> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Single to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (float? value);

Parameters

value
Nullable<Single>

A Single to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Guid> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Guid to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (Guid? value);

Parameters

value
Nullable<Guid>

A Guid to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Int16> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Int16 to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (short? value);

Parameters

value
Nullable<Int16>

A Int16 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Int32> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Int32 to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (int? value);

Parameters

value
Nullable<Int32>

A Int32 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Int64> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Int64 to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (long? value);

Parameters

value
Nullable<Int64>

A Int64 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<SByte> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable SByte to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode? (sbyte? value);

Parameters

value
Nullable<SByte>

A SByte to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<UInt16> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable UInt16 to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode? (ushort? value);

Parameters

value
Nullable<UInt16>

A UInt16 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(UInt64 to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable UInt64 to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode (ulong value);

Parameters

value
UInt64

A UInt64 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<UInt64> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable UInt64 to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode? (ulong? value);

Parameters

value
Nullable<UInt64>

A UInt64 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(SByte to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable SByte to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode (sbyte value);

Parameters

value
SByte

A SByte to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Single to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Single to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (float value);

Parameters

value
Single

A Single to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(String to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable String to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (string? value);

Parameters

value
String

A String to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(UInt16 to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable UInt16 to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode (ushort value);

Parameters

value
UInt16

A UInt16 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(UInt32 to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable UInt32 to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode (uint value);

Parameters

value
UInt32

A UInt32 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<UInt32> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Important

This API is not CLS-compliant.

Defines an implicit conversion of a specified nullable UInt32 to a JsonNode.

C#
[System.CLSCompliant(false)]
public static implicit operator System.Text.Json.Nodes.JsonNode? (uint? value);

Parameters

value
Nullable<UInt32>

A UInt32 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Attributes

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Double> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Double to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (double? value);

Parameters

value
Nullable<Double>

A Double to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<DateTime> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable DateTime to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (DateTime? value);

Parameters

value
Nullable<DateTime>

A DateTime to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<DateTimeOffset> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable DateTimeOffset to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (DateTimeOffset? value);

Parameters

value
Nullable<DateTimeOffset>

A DateTimeOffset to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Boolean to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Boolean to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (bool value);

Parameters

value
Boolean

A Boolean to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Decimal> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Decimal to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (decimal? value);

Parameters

value
Nullable<Decimal>

A Decimal to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Char to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Char to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (char value);

Parameters

value
Char

A Char to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(DateTime to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given DateTime to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (DateTime value);

Parameters

value
DateTime

A DateTime to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(DateTimeOffset to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given DateTimeOffset to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (DateTimeOffset value);

Parameters

value
DateTimeOffset

A DateTimeOffset to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Decimal to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Decimal to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (decimal value);

Parameters

value
Decimal

A Decimal to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Double to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Double to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (double value);

Parameters

value
Double

A Double to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Byte to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Byte to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (byte value);

Parameters

value
Byte

A Byte to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Int16 to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Int16 to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (short value);

Parameters

value
Int16

A Int16 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Int32 to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Int32 to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (int value);

Parameters

value
Int32

A Int32 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Int64 to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Int64 to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (long value);

Parameters

value
Int64

A Int64 to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Boolean> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Boolean to a nullable JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (bool? value);

Parameters

value
Nullable<Boolean>

A Boolean to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Byte> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Byte to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (byte? value);

Parameters

value
Nullable<Byte>

A Byte to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Nullable<Char> to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a specified nullable Char to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode? (char? value);

Parameters

value
Nullable<Char>

A Char to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

Implicit(Guid to JsonNode)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

Defines an implicit conversion of a given Guid to a JsonNode.

C#
public static implicit operator System.Text.Json.Nodes.JsonNode (Guid value);

Parameters

value
Guid

A Guid to implicitly convert.

Returns

A JsonNode instance converted from the value parameter.

Applies to

.NET 9 and other versions
Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)