aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--low-can-binding/utils/openxc-utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/utils/openxc-utils.cpp b/low-can-binding/utils/openxc-utils.cpp
index 8d331003..68c8a657 100644
--- a/low-can-binding/utils/openxc-utils.cpp
+++ b/low-can-binding/utils/openxc-utils.cpp
@@ -421,7 +421,7 @@ void jsonify_DynamicField(const openxc_DynamicField& field, json_object* value)
else if(field.has_bytes_value)
json_object_object_add(value, "value", json_object_new_string(converter_t::to_hex(field.bytes_value, field.length_array).c_str()));
else if(field.has_json_value)
- json_object_object_add(value, "signals", json_object_new_string(json_object_get_string(field.json_value)));
+ json_object_object_add(value, "signals", json_object_get(field.json_value));
}
///