postgres_to_json_value

Function postgres_to_json_value 

Source
pub fn postgres_to_json_value(row: &Row, idx: usize) -> Value
Expand description

Convert a PostgreSQL row column to a JSON value

This function handles common PostgreSQL types and converts them to appropriate serde_json::Value representations. Unsupported types are converted to JSON strings using their text representation.