Change-Id: Iee28c1216ad5a3a4cdc76bd3edef4f7b5ccf0866
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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));
}
///