Function decode_json

Source
pub fn decode_json(
    value: <Postgres as Database>::ValueRef<'_>,
) -> Result<&[u8], BoxDynError>
Expand description

Extract a byte slice from a Postgres JSON or JSONB value. You shouldn’t need to use this directly.