Module parser

Source
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 buffer_pool::BufferPool;
pub use buffer_pool::PooledBuffer;
pub use buffer_pool::BufferSize;
pub use buffer_pool::PoolConfig;
pub use buffer_pool::global_buffer_pool;
pub use scanner::JsonScanner;
pub use scanner::ScanResult;
pub use scanner::StringLocation;
pub use simd_zero_copy::SimdZeroCopyParser;
pub use simd_zero_copy::SimdZeroCopyConfig;
pub use simd_zero_copy::SimdParseResult;
pub use simd_zero_copy::SimdParsingStats;
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::LazyParser;
pub use zero_copy::ZeroCopyParser;
pub use zero_copy::LazyJsonValue;
pub use zero_copy::MemoryUsage;
pub use zero_copy::IncrementalParser;

Modules§

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§

ValueType
JSON value types for initial classification