Expand description
High-performance JSON parsing module with hybrid approach
This module provides both SIMD-optimized parsing and serde fallback, allowing rapid MVP development while building towards maximum performance.
Re-exports§
pub use allocator::AllocatorBackend;pub use allocator::AllocatorStats;pub use allocator::SimdAllocator;pub use allocator::global_allocator;pub use buffer_pool::BufferPool;pub use buffer_pool::BufferSize;pub use buffer_pool::PoolConfig;pub use buffer_pool::PooledBuffer;pub use buffer_pool::SimdType;pub use buffer_pool::global_buffer_pool;pub use scanner::JsonScanner;pub use scanner::ScanResult;pub use scanner::StringLocation;pub use simd_zero_copy::SimdParseResult;pub use simd_zero_copy::SimdParsingStats;pub use simd_zero_copy::SimdZeroCopyConfig;pub use simd_zero_copy::SimdZeroCopyParser;pub use simple::ParseConfig;pub use simple::ParseStats;pub use simple::SimpleParser;pub use sonic::LazyFrame;pub use sonic::SonicConfig;pub use sonic::SonicParser;pub use value::JsonValue;pub use value::LazyArray;pub use value::LazyObject;pub use zero_copy::IncrementalParser;pub use zero_copy::LazyJsonValue;pub use zero_copy::LazyParser;pub use zero_copy::MemoryUsage;pub use zero_copy::ZeroCopyParser;
Modules§
- allocator
- Custom allocator support for high-performance buffer management
- buffer_
pool - Buffer pool system for zero-copy parsing with memory management
- scanner
- JSON scanning interface and common types
- simd
- SIMD-accelerated JSON parsing optimizations
- simd_
zero_ copy - SIMD-accelerated zero-copy parser using sonic-rs
- simple
- Simplified serde-based parser for PJS MVP
- sonic
- Hybrid parser using sonic-rs for SIMD acceleration
- value
- Lazy JSON value types for zero-copy parsing
- zero_
copy - Zero-copy lazy JSON parser with lifetime management
Structs§
- Parser
- High-performance hybrid parser with SIMD acceleration
Enums§
- Value
Type - JSON value types for initial classification