GNOME Bugzilla – Bug 730803
json_array_add_string_element turns the empty string into 'null'.
Last modified: 2015-08-18 13:06:26 UTC
That's unexpected and not useful.
Fwiw, json_object_set_string_member doesn't do this.
Indeed, you're right.