Last weekend, I was tasked with refactoring the 96 unit tests on ruma-events to use strictly typed json objects using serde_json::json! instead of raw strings. It was rather painless thanks to vim :) Here’s a small sample of what had to be done (note the lines prefixed with the arrow): → useserde_json::{from_str};#[test]fn deserialize() {assert_eq!(→ from_str::<Action>(r#"{"set_tweak": "highlight"}"#),Action::SetTweak(Tweak::Highlight { value:true}) );} had to be converted to: → usese...