Skip to main content

Crate xfa_json

Crate xfa_json 

Source
Expand description

JSON-first API for XFA forms.

Provides bidirectional conversion between XFA FormTree structures and JSON, with automatic type coercion, repeating section support, and schema export.

§Examples

use xfa_json::{form_tree_to_json, json_to_form_tree, export_schema};

Re-exports§

pub use export::form_tree_to_json;
pub use export::form_tree_to_value;
pub use import::json_to_form_tree;
pub use schema::export_schema;
pub use types::FieldValue;
pub use types::FormData;
pub use types::FormSchema;

Modules§

export
Export FormTree to JSON.
import
Import JSON data into a FormTree.
schema
Schema extraction from FormTree.
types
Core JSON types for the XFA JSON-first API.