aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/value.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/value.rs b/src/value.rs
index dcc3567..83be066 100644
--- a/src/value.rs
+++ b/src/value.rs
@@ -620,6 +620,14 @@ impl<'de> de::MapAccess<'de> for MapDeserializer {
}
}
+impl<'de> de::IntoDeserializer<'de, ::de::Error> for Value {
+ type Deserializer = Self;
+
+ fn into_deserializer(self) -> Self {
+ self
+ }
+}
+
struct Serializer;
impl ser::Serializer for Serializer {