mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -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(())
|
|
}
|