gboolean valent_packet_get_string ( JsonNode* packet, const char* field, const char** value )
field in the body of
packet and assign it to
field is not found or it is not a non-empty string,
FALSE will be
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. The value is a NUL terminated UTF-8 string.