pub fn to_value(form: &Form) -> Value
Serialize a form back to a JSON value for storage in snippet.data.
snippet.data
Never in practice — the schema types are plain data and always serialize.