pub fn to_lazyvalue<T>(value: &T) -> Result<OwnedLazyValue>where T: ?Sized + Serialize,
Serialize the given data structure as a OwnedLazyValue of JSON.