Expand description
JSON parsing utilities with performance optimizations
This module provides a unified interface for JSON parsing using simd-json for maximum performance in HFT applications.
Macros§
- json
- Construct a
simd_json::Valuefrom a JSON literal.
Enums§
- Borrowed
Value - Borrowed JSON-DOM Value, consider using the
ValueTraitto access its content - Value
- Owned JSON-DOM Value, consider using the
ValueTraitto access it’s content. This is slower then theBorrowedValueas a tradeoff for getting rid of lifetimes.
Functions§
- from_
value - Deserialize from a JSON Value using simd-json
- parse
- Parse JSON from a string slice using simd-json
- parse_
bytes - Parse JSON from borrowed bytes with temporary allocation
- parse_
fast - High-performance JSON parsing using simd-json
- parse_
fast_ owned - High-performance JSON parsing from owned SmartString
- parse_
fast_ slice - High-performance JSON parsing from mutable byte slice
- parse_
fast_ vec - High-performance JSON parsing from owned Vec
- parse_
slice - Parse JSON from bytes using simd-json
- parse_
to_ borrowed_ value - Zero-copy JSON parsing to borrowed value
- parse_
with_ buffer - High-performance JSON parsing with pooled buffers
- parse_
zerocopy - Zero-copy JSON parsing using borrowed data
- to_
smartstring - Serialize to JSON SmartString using simd-json
Type Aliases§
- Map
- A type alias for
BTreeMapfor compatibility withsimd-json.