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()) } }