From e9c9dfbc279ec33f35b97d061f3327e15cf8c3f2 Mon Sep 17 00:00:00 2001 From: sunli Date: Thu, 7 May 2020 18:50:47 +0800 Subject: [PATCH] Update any.rs --- src/scalars/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scalars/any.rs b/src/scalars/any.rs index 025f9819..c85f730e 100644 --- a/src/scalars/any.rs +++ b/src/scalars/any.rs @@ -34,7 +34,7 @@ impl ScalarType for Any { impl Any { /// Parse this `Any` value to T by `serde_json`. - fn parse_value(&self) -> std::result::Result { + pub fn parse_value(&self) -> std::result::Result { serde_json::from_value(self.to_json().unwrap()) } }