/// Check that the original JSON retrieved from the MusicBrainz API can be deserialized, then /// serialized and deserialized again without information loss. #[cfg(not(feature = "legacy_serialize"))] #[test] #[allow(non_snake_case)] fn test_{test_name}() {{ let data = include_str!("{filepath}"); let first_deserialized: {type_annotation} = serde_json::from_str(&data).expect("first deserialization failed"); let serialized = serde_json::to_string(&first_deserialized).expect("serialization failed"); let second_deserialized: {type_annotation} = serde_json::from_str(&serialized).expect("second deserialization failed"); assert_eq!(first_deserialized, second_deserialized); }}