doc: json filter documentation

This commit is contained in:
Kogia-sima 2020-12-17 18:01:17 +09:00
parent d7bce02109
commit e899e99ea1
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ cfg_json! {
}
}
/// Serialize the given data structure as JSON into the buffer
#[inline]
pub fn json<T: serde::Serialize>(expr: &T) -> Json<T> {
Json(expr)