Skip to main content

expression_to_value

Function expression_to_value 

Source
pub fn expression_to_value(expression: &Expression) -> Result<Value, String>
Expand description

Serialize an Expression through serde JSON first so wrapper layers expose canonical JSON-compatible values instead of runtime-specific JS shapes.