use serde_json::{
json,
Value,
};
use toon_format::{
decode_default,
encode_default,
};
#[test]
fn test_unicode_strings() {
let unicode = json!({
"emoji": "πππ¦",
"chinese": "δ½ ε₯½δΈη",
"arabic": "Ω
Ψ±ΨΨ¨Ψ§",
"mixed": "Hello δΈη π"
});
let encoded = encode_default(&unicode).unwrap();
let decoded: Value = decode_default(&encoded).unwrap();
assert_eq!(unicode, decoded);
}