Expand description
JSON Eval RS - High-performance JSON Logic evaluation library
This library provides a complete implementation of JSON Logic with advanced features:
- Pre-compilation of logic expressions for optimal performance
- Mutation tracking via proxy-like data wrapper (EvalData)
- All data mutations gated through EvalData for thread safety
- Zero external logic dependencies (built from scratch)
Re-exports§
pub use rlogic::CompiledLogic;pub use rlogic::CompiledLogicStore;pub use rlogic::Evaluator;pub use rlogic::LogicId;pub use rlogic::RLogic;pub use rlogic::RLogicConfig;pub use rlogic::CompiledLogicId;pub use rlogic::CompiledLogicStoreStats;pub use table_metadata::TableMetadata;pub use path_utils::ArrayMetadata;pub use eval_data::EvalData;pub use eval_cache::EvalCache;pub use eval_cache::CacheKey;pub use eval_cache::CacheStats;pub use parsed_schema::ParsedSchema;pub use parsed_schema_cache::ParsedSchemaCache;pub use parsed_schema_cache::ParsedSchemaCacheStats;pub use parsed_schema_cache::PARSED_SCHEMA_CACHE;
Modules§
- eval_
cache - eval_
data - json_
parser - parse_
schema - parsed_
schema - Parsed Schema - Reusable parsing results for caching across multiple JSONEval instances
- parsed_
schema_ cache - path_
utils - Path utilities for JSON pointer operations
- rlogic
- RLogic - High-performance JSON Logic compiler and evaluator
- subform_
methods - table_
evaluate - table_
metadata - topo_
sort
Structs§
- Dependent
Item - Dependent item structure for transitive dependency tracking
- JSON
Eval - Validation
Error - Validation error for a field
- Validation
Result - Result of validation
Enums§
- Return
Format - Return format for path-based methods
Functions§
- clear_
timing_ data - Clear timing data
- disable_
timing - Disable timing
- enable_
timing - Enable timing programmatically (in addition to JSONEVAL_TIMING environment variable)
- print_
timing_ summary - Print timing summary
- version
- Get the library version