summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-03-09 08:23:46 -0700
committerJohn Stebbins <[email protected]>2016-03-09 08:23:46 -0700
commit6dfc9c4a5a5d9a7bc56d9b10756e3b66a5887069 (patch)
tree366efe9bf10dc67ac9aeb7db913663792df0ff48
parentaf25ef9bae5ba47e28003a482cfc653a2d900f05 (diff)
hb_dict: convert json null to empty string upon string xform
-rw-r--r--libhb/hb_dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb_dict.c b/libhb/hb_dict.c
index bd6e65721..cc0ee99fe 100644
--- a/libhb/hb_dict.c
+++ b/libhb/hb_dict.c
@@ -105,7 +105,7 @@ static hb_value_t* xform_null(hb_value_type_t type)
case HB_VALUE_TYPE_DOUBLE:
return json_real(0.0);
case HB_VALUE_TYPE_STRING:
- return json_null();
+ return json_string("");
}
}