Skip to main content

Crate fionn_core

Crate fionn_core 

Source
Expand description

Core types, error handling, and foundational types for fionn

This crate provides the foundational types used across the fionn ecosystem:

  • error - Error types and Result alias
  • format - Format types and node kind classification
  • path - JSON path parsing utilities
  • schema - Schema-based filtering
  • value - Operation value types
  • operations - DSON operation types
  • tape_source - Format-agnostic tape traversal abstraction
  • value_builder - Format-agnostic value construction for ungron
  • diffable - Format-agnostic diff computation traits
  • patchable - Format-agnostic patch application traits

Re-exports§

pub use error::DsonError;
pub use error::Result;
pub use format::Confidence;
pub use format::DetectionResult;
pub use format::FormatKind;
pub use format::FormatSpecificKind;
pub use format::NodeKind;
pub use format::ParsingContext;
pub use operations::DsonOperation;
pub use operations::MergeStrategy;
pub use path::ParsedPath;
pub use path::PathCache;
pub use path::PathComponent;
pub use path::PathComponentRange;
pub use path::PathComponentRef;
pub use path::parse_simd;
pub use path::parse_simd_ref_into;
pub use predicate::ContextPredicate;
pub use predicate::FidelityAnnotation;
pub use predicate::KindPredicate;
pub use predicate::LossCategory;
pub use predicate::ParsedPredicate;
pub use schema::CompiledSchema;
pub use schema::MatchType;
pub use schema::SchemaFilter;
pub use schema::SchemaPattern;
pub use value::OperationValue;
pub use tape_source::TapeIterator;
pub use tape_source::TapeNodeKind;
pub use tape_source::TapeNodeRef;
pub use tape_source::TapeSource;
pub use tape_source::TapeValue;
pub use value_builder::JsonBuilder;
pub use value_builder::PathSegment;
pub use value_builder::ValueBuilder;
pub use value_builder::set_at_path_json;
pub use diffable::DiffOptions;
pub use diffable::DiffValueKind;
pub use diffable::DiffableValue;
pub use diffable::GenericPatch;
pub use diffable::GenericPatchOperation;
pub use patchable::PatchError;
pub use patchable::Patchable;

Modules§

diffable
Format-agnostic diff computation traits and algorithms Format-agnostic diff and patch traits
error
Error types for fionn operations Error types for fionn operations
format
Format types and node kind classification for multi-format support Format types and node kind classification for multi-format support
operations
Core operation types Core operation types for DSON processing
patchable
Format-agnostic patch application traits Format-agnostic patch application
path
JSON path parsing utilities with SIMD acceleration
predicate
Kind predicates for query path filtering Kind predicates for query path filtering
schema
Schema-based filtering for DOMless processing Schema-based filtering for DOMless processing
tape_source
Format-agnostic tape traversal abstraction for multi-format support Format-agnostic tape traversal abstraction
value
Operation value types for DSON operations Operation values for DSON operations
value_builder
Format-agnostic value construction for ungron reconstruction Value construction trait for ungron reconstruction