doc: json filter documentation
This commit is contained in:
parent
d7bce02109
commit
e899e99ea1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue