diff --git a/src/rpc/res.rs b/src/rpc/res.rs index 3befa1cc..73a39942 100644 --- a/src/rpc/res.rs +++ b/src/rpc/res.rs @@ -14,6 +14,7 @@ pub enum Output { #[derive(Serialize)] pub struct Response { + #[serde(skip_serializing_if = "Option::is_none")] id: Option, #[serde(flatten)] content: Content,