Replace this value with a JsonArray initialized from array.
Create an instance of type JsonArray in this object, using the allocator currently held by this object to supply memory, and return a reference providing modifiable access to the created instance. Initialize the JsonArray from the specified array. This method first destroys the current value held by this object (even if the type currently held is JsonArray).
a reference providing modifiable access to the held JsonArray
| Name | Description |
|---|---|
| array | value used to initialize the created array |