xfa_json/lib.rs
1#![warn(missing_docs)]
2//! JSON-first API for XFA forms.
3//!
4//! Provides bidirectional conversion between XFA `FormTree` structures and JSON,
5//! with automatic type coercion, repeating section support, and schema export.
6//!
7//! # Examples
8//!
9//! ```
10//! use xfa_json::{form_tree_to_json, json_to_form_tree, export_schema};
11//! ```
12
13mod coerce;
14pub mod export;
15pub mod import;
16pub mod schema;
17pub mod types;
18
19pub use export::form_tree_to_json;
20pub use export::form_tree_to_value;
21pub use import::json_to_form_tree;
22pub use schema::export_schema;
23pub use types::{FieldValue, FormData, FormSchema};