Skip to main content

json_to_column_value

Function json_to_column_value 

Source
pub fn json_to_column_value(
    column: &Column,
    value: Option<&Value>,
) -> Result<Option<ColumnValue>, String>
Expand description

Driver JSON value → row-codec value for one column. null/absent maps to NULL; bytes travel as {"$bytes": "<hex>"}.