This option of json_object_object_add_ex will cancel the addition if the added value is NULL. Remarks: - testing value with json_object_is_type(val, json_type_null) could make sense - that commit introduces a new test that could slow the speed of addpull/728/head