Removed skip serialization
This commit is contained in:
parent
5dc72469a7
commit
7d92700bd3
@ -6,7 +6,7 @@ use serde_json::Value;
|
||||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)]
|
||||
pub struct ClientMessage {
|
||||
pub head: String,
|
||||
#[serde(skip_serializing_if = "Value::is_null", default = "null_value")]
|
||||
#[serde(default = "null_value")]
|
||||
pub body: Value,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user