Modifier

Partager via


JsonArray Constructors

Definition

Overloads

JsonArray(IEnumerable<JsonValue>)
JsonArray(JsonValue[])

JsonArray(IEnumerable<JsonValue>)

Source:
JsonArray.cs
public:
 JsonArray(System::Collections::Generic::IEnumerable<System::Json::JsonValue ^> ^ items);
public JsonArray (System.Collections.Generic.IEnumerable<System.Json.JsonValue> items);
new System.Json.JsonArray : seq<System.Json.JsonValue> -> System.Json.JsonArray
Public Sub New (items As IEnumerable(Of JsonValue))

Parameters

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

JsonArray(JsonValue[])

Source:
JsonArray.cs
public:
 JsonArray(... cli::array <System::Json::JsonValue ^> ^ items);
public JsonArray (params System.Json.JsonValue[] items);
new System.Json.JsonArray : System.Json.JsonValue[] -> System.Json.JsonArray
Public Sub New (ParamArray items As JsonValue())

Parameters

items
JsonValue[]

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to