Skip to main content

to_value

Function to_value 

Source
pub fn to_value(form: &Form) -> Value
Expand description

Serialize a form back to a JSON value for storage in snippet.data.

§Panics

Never in practice — the schema types are plain data and always serialize.