Declare json_node_take_object() and json_node_take_array()
Declare json_node_take_object() and json_node_take_array()

JsonParser uses the take variant of JsonNode setters for objects and arrays
since it's the one creating the objects. This way, we avoid leaks and the
extra complexity of unreffing the newly created complex containers after
setting them into the JsonNodes.

GNOME/json-glib,ebassi/json-glib,oerdnj/json-glib,frida/json-glib,frida/json-glib,brauliobo/json-glib,robtaylor/json-glib-gvariant,brauliobo/json-glib,GNOME/json-glib,ebassi/json-glib,ebassi/json-glib,robtaylor/json-glib-gvariant,oerdnj/json-glib,Distrotech/json-glib,brauliobo/json-glib,oerdnj/json-glib,Distrotech/json-glib,Distrotech/json-glib,oerdnj/json-glib