JsonValue.Create Method

Definition

Overloads

Create(Boolean, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Int64>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<SByte>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Single>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<UInt16>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<UInt32>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Int32>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<UInt64>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Single, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(String, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(JsonElement, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(UInt16, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(UInt32, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(UInt64, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(SByte, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Int16>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Guid>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Int16, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(DateTime, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(DateTimeOffset, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Decimal, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Double, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Guid, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Double>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Char, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Int32, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Boolean>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Byte>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Char>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<DateTime>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Nullable<Decimal>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Int64, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Byte, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create<T>(T, JsonTypeInfo<T>, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create<T>(T, Nullable<JsonNodeOptions>)

Initializes a new instance of the JsonValue class that contains the specified value.

Create(Boolean, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (bool value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : bool * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Boolean, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Boolean

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Int64>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (long? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<int64> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Long), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Int64>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<SByte>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create (sbyte? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<sbyte> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of SByte), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<SByte>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(Nullable<Single>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (float? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<single> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Single), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Single>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (System.Text.Json.JsonElement? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<System.Text.Json.JsonElement> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of JsonElement), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<JsonElement>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<UInt16>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create (ushort? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<uint16> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of UShort), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<UInt16>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(Nullable<UInt32>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create (uint? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<uint32> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of UInteger), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<UInt32>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(Nullable<Int32>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (int? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<int> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Integer), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Int32>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<UInt64>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue? Create (ulong? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : Nullable<uint64> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of ULong), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<UInt64>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(Single, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (float value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : single * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Single, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Single

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(String, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (string? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : string * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As String, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
String

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(JsonElement, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (System.Text.Json.JsonElement value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : System.Text.Json.JsonElement * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As JsonElement, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
JsonElement

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(UInt16, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create (ushort value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : uint16 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As UShort, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
UInt16

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(UInt32, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create (uint value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : uint32 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As UInteger, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
UInt32

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(UInt64, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create (ulong value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : uint64 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As ULong, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
UInt64

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(SByte, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Important

This API is not CLS-compliant.

Initializes a new instance of the JsonValue class that contains the specified value.

[System.CLSCompliant(false)]
public static System.Text.Json.Nodes.JsonValue Create (sbyte value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
[<System.CLSCompliant(false)>]
static member Create : sbyte * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As SByte, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
SByte

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Attributes

Applies to

Create(Nullable<Int16>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (short? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<int16> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Short), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Int16>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Guid>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (Guid? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<Guid> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Guid), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Guid>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Int16, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (short value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : int16 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Short, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Int16

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(DateTime, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (DateTime value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : DateTime * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As DateTime, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
DateTime

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(DateTimeOffset, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (DateTimeOffset value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : DateTimeOffset * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As DateTimeOffset, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
DateTimeOffset

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Decimal, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (decimal value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : decimal * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Decimal, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Decimal

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Double, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (double value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : double * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Double, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Double

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Guid, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (Guid value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Guid * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Guid, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Guid

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Double>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (double? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<double> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Double), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Double>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Char, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (char value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : char * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Char, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Char

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Int32, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (int value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : int * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Integer, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Int32

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Boolean>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (bool? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<bool> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Boolean), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Boolean>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Byte>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (byte? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<byte> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Byte), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Byte>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Char>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (char? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<char> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Char), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Char>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<DateTime>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (DateTime? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<DateTime> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of DateTime), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<DateTime>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (DateTimeOffset? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<DateTimeOffset> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of DateTimeOffset), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<DateTimeOffset>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Nullable<Decimal>, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create (decimal? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : Nullable<decimal> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Nullable(Of Decimal), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Nullable<Decimal>

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Int64, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (long value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : int64 * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Long, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Int64

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create(Byte, Nullable<JsonNodeOptions>)

Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs
Source:
JsonValue.CreateOverloads.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue Create (byte value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : byte * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create (value As Byte, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Parameters

value
Byte

The underlying value of the new JsonValue instance.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create<T>(T, JsonTypeInfo<T>, Nullable<JsonNodeOptions>)

Source:
JsonValue.cs
Source:
JsonValue.cs
Source:
JsonValue.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create<T> (T? value, System.Text.Json.Serialization.Metadata.JsonTypeInfo<T> jsonTypeInfo, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : 'T * System.Text.Json.Serialization.Metadata.JsonTypeInfo<'T> * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create(Of T) (value As T, jsonTypeInfo As JsonTypeInfo(Of T), Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Type Parameters

T

The type of value to create.

Parameters

value
T

The value to create.

jsonTypeInfo
JsonTypeInfo<T>

The JsonTypeInfo that will be used to serialize the value.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to

Create<T>(T, Nullable<JsonNodeOptions>)

Source:
JsonValue.cs
Source:
JsonValue.cs
Source:
JsonValue.cs

Initializes a new instance of the JsonValue class that contains the specified value.

public static System.Text.Json.Nodes.JsonValue? Create<T> (T? value, System.Text.Json.Nodes.JsonNodeOptions? options = default);
static member Create : 'T * Nullable<System.Text.Json.Nodes.JsonNodeOptions> -> System.Text.Json.Nodes.JsonValue
Public Shared Function Create(Of T) (value As T, Optional options As Nullable(Of JsonNodeOptions) = Nothing) As JsonValue

Type Parameters

T

The type of value to create.

Parameters

value
T

The value to create.

options
Nullable<JsonNodeOptions>

Options to control the behavior.

Returns

The new instance of the JsonValue class that contains the specified value.

Applies to