diff --git a/src/core_api.rs b/src/core_api.rs index ed3086d..87e3338 100644 --- a/src/core_api.rs +++ b/src/core_api.rs @@ -95,6 +95,7 @@ pub(crate) trait IntoRawCommandPart { /// Generic data type representing all possible data types that mpv can return. #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[serde(untagged)] pub enum MpvDataType { Array(Vec), Bool(bool),