init_array
Description:
Initializes this to `JSON_NODE_ARRAY` and sets array
into it.
This function will take a reference on array
.
If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.
Parameters:
this |
the node to initialize |
array |
the JSON array to initialize this with, or `NULL` |
Returns:
the initialized node |