pub mod coerce;
pub mod error;
pub mod file;
pub mod keyed;
pub mod path;
pub mod traverse;
pub mod typed;
pub mod value;
pub mod format;
#[cfg(feature = "schema")]
pub mod schema;
pub use coerce::{
BareOverwrite, ScalarKind, ValueType, coerce_toward, coerce_values_toward,
guard_bare_overwrite, scalar_kind, value_from_type, value_matches_type,
};
pub use error::{DocumentError, DocumentResult};
#[cfg(feature = "cli")]
pub use file::read_capped_file;
pub use file::{CreateMode, CreateOptions, Document, DocumentFile, SymlinkPolicy};
pub use keyed::{
Addressing, ArrayRule, KeyedList, MatchKind, add_keyed, remove_keyed, validate_array_slug,
};
pub use path::{PathStep, PatternSegment, join_path, parse_path, parse_path_pattern};
pub use traverse::{
Located, MissingContainer, expand_path_pattern, get_path, get_path_ref, locate,
locate_with_route, resolve_path, set_path, unset_path,
};
pub(crate) use traverse::{append_position_refused, keyed_prefix_matches};
pub use typed::{from_value, to_value};
pub use value::Value;
pub(crate) use value::non_finite_spelling;
pub use format::Format;
#[cfg(feature = "schema")]
pub use schema::{
CliSchema, FieldDef, render_annotated_toml, render_annotated_yaml, render_doc_markdown,
};