[−][src]Trait pgx::inoutfuncs::JsonInOutFuncs
Automatically implemented for #[derive(Serialize, Deserialize, PostgresType)]
types that do
not also have the #[inoutfuncs]
attribute macro
Provided methods
pub fn input(input: &'de CStr) -> Self
[src]
Uses serde_json
to deserialize the input, which is assumed to be JSON
pub fn output(&self, buffer: &mut StringInfo) where
Self: Serialize,
[src]
Self: Serialize,
Users serde_json
to serialize Self
into JSON