diff --git a/src/models/protocol/types.rs b/src/models/protocol/types.rs index b509d92..a5c9500 100644 --- a/src/models/protocol/types.rs +++ b/src/models/protocol/types.rs @@ -409,7 +409,7 @@ fn build_inner_type(value: Value) -> Box { } else { Box::new(PacketDataType::Other { name: None, - value: inner_value.into_owned(), + value: Value::Array(vec![key, inner_value.into_owned()]), }) } }