#[cfg(not(panic = "unwind"))]
compile_error!("genson-core requires panic=unwind to catch genson-rs panics. Set [profile.*].panic = \"unwind\" in Cargo.toml.");
pub mod schema;
pub use schema::{infer_json_schema_from_strings, SchemaInferenceConfig, SchemaInferenceResult};
pub fn infer_json_schema(
json_strings: &[String],
config: Option<SchemaInferenceConfig>,
) -> Result<SchemaInferenceResult, String> {
infer_json_schema_from_strings(json_strings, config.unwrap_or_default())
}
pub fn default_config() -> SchemaInferenceConfig {
SchemaInferenceConfig::default()
}