Skip to main content

Module export

Module export 

Source
Expand description

Export FormTree to JSON.

Walks the FormTree recursively and produces a flat FormData with SOM-style dotted paths as keys and coerced typed values.

Functions§

form_tree_to_json
Convert a FormTree into a JSON-friendly FormData structure.
form_tree_to_value
Convert a FormTree into a raw serde_json::Value.