gboolean valent_packet_get_object ( JsonNode* packet, const char* field, JsonObject** value )
field in the body of
packet and assign it to
field is not found or it is not a
FALSE will be returned
value will not be set.
Available since: 1.0
A KDE Connect packet.
The data is owned by the caller of the function.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
The argument will be set by the function. The argument can be set to
NULLby the function.
The called function takes ownership of the data, and is responsible for freeing it.