JsonArray Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
JsonArray(IEnumerable<JsonValue>) | |
JsonArray(JsonValue[]) |
JsonArray(IEnumerable<JsonValue>)
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
- items
- IEnumerable<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
JsonArray(JsonValue[])
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.