pub fn arg<T: Serialize>(arg: T) -> Box<RawValue>
Expand description
Shorthand method to convert an argument into a boxed serde_json::value::RawValue
.
This conversion should not fail, so to avoid returning a Result
,
in case of an error, the error is serialized as the return value.