2 repositorios
Parsers that scan raw memory or byte slices to locate data without allocating new structures.
Distinct from Byte-Range Indexing: Candidates are focused on bootloaders or tokenizers, not the architectural strategy of non-destructive scanning for data extraction.
Explore 2 awesome GitHub repositories matching operating systems & systems programming · Zero-Copy Parsers. Refine with filters or upvote what's useful.
gjson is a Go JSON parser designed for schema-less reading and value extraction. It allows for the retrieval of specific data from JSON documents using dot-notation paths without requiring the definition of predefined Go structs. The library provides tools for path-based querying, including the use of wildcards and index-based queries to locate data within objects and arrays. It also functions as a JSON lines processor, treating multi-line documents as arrays to iterate and query individual entries. Additional capabilities include converting JSON values into native Go types such as strings,
Scans raw byte slices to locate values without decoding the entire document into memory structures.
nom is a Rust parser combinator framework used to build complex parsers for binary and text data. It functions as an abstract syntax tree generator and a bit-level binary parser, allowing users to construct structured data by combining small, reusable parsing functions. The framework provides specialized support for zero-copy binary parsing, extracting data as slices from raw byte arrays to avoid memory allocations. It also includes a streaming data parser capable of processing partial input chunks from networks or files and signaling when additional input is required. The project covers a b
Implements a parser that extracts structured data from raw byte arrays as slices to eliminate memory allocations.