aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/object/src/json.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/object/src/json.rs b/common/object/src/json.rs
index 31e7858..c2ee678 100644
--- a/common/object/src/json.rs
+++ b/common/object/src/json.rs
@@ -31,15 +31,15 @@ pub fn object_to_json(reg: &Registry, ob: Object<'_>) -> Value {
multi_insert(&mut o, key, val);
}
x if x == U32 => {
- let val = ob.get_typed::<u32>(i).unwrap().to_string().into();
+ let val = ob.get_typed::<u32>(i).unwrap().into();
multi_insert(&mut o, key, val);
}
x if x == U64 => {
- let val = ob.get_typed::<u64>(i).unwrap().to_string().into();
+ let val = ob.get_typed::<u64>(i).unwrap().into();
multi_insert(&mut o, key, val);
}
x if x == F64 => {
- let val = ob.get_typed::<f64>(i).unwrap().to_string().into();
+ let val = ob.get_typed::<f64>(i).unwrap().into();
multi_insert(&mut o, key, val);
}
_ => {