From bb2993feb556d5b670663f240b2ac81ebe5e2415 Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Mon, 8 Jul 2019 10:33:25 +0200 Subject: [PATCH] Correctly set value::Serializer's is_human_readable --- src/value/ser.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/value/ser.rs b/src/value/ser.rs index 200c7811..e931abbc 100644 --- a/src/value/ser.rs +++ b/src/value/ser.rs @@ -240,6 +240,11 @@ impl serde::Serializer for Serializer { map: BTreeMap::new(), }) } + + #[inline] + fn is_human_readable(&self) -> bool { + false + } } pub struct SerializeVec {