init_object
Description:
Initializes this to `JSON_NODE_OBJECT` and sets object
into it.
This function will take a reference on object
.
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 |
object |
the JSON object to initialize this with, or `NULL` |
Returns:
the initialized node |