Open ArunGust opened 3 years ago
I tried to remove a key and assign new key didnt work. Any idea ? let mut parsed = json::parse(&data).unwrap(); let var1 = parsed.remove("test").to_string(); parsed["cdate"] = Utc::now().to_string().into();
I tried to remove a key and assign new key didnt work. Any idea ? let mut parsed = json::parse(&data).unwrap(); let var1 = parsed.remove("test").to_string(); parsed["cdate"] = Utc::now().to_string().into();