diff --git a/sailfish/src/runtime/filter.rs b/sailfish/src/runtime/filter.rs index bb8f898..744458f 100644 --- a/sailfish/src/runtime/filter.rs +++ b/sailfish/src/runtime/filter.rs @@ -207,6 +207,7 @@ cfg_json! { } } + /// Serialize the given data structure as JSON into the buffer #[inline] pub fn json(expr: &T) -> Json { Json(expr)