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