pub fn value_to_json(value: &Value) -> ValueExpand description
Encode a scalar stmt::Value as a serde_json::Value. Panics on
shapes that have no JSON representation (Record, nested List,
Bytes, SparseRecord, Null records, NaN / infinity).