mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
9 lines
216 B
Rust
9 lines
216 B
Rust
fn op_sync_serialize_object_with_numbers_as_keys(
|
|
value: serde_json::Value,
|
|
) -> Result<(), Error> {
|
|
assert_eq!(
|
|
value.to_string(),
|
|
r#"{"lines":{"100":{"unit":"m"},"200":{"unit":"cm"}}}"#
|
|
);
|
|
Ok(())
|
|
}
|