mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
10 lines
216 B
Rust
10 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(())
|
||
|
}
|