Architecture (Contributor)
This repository ships a single JavaScript-only package: jsonpathx.
Data Flow
- Parse JSONPath into an AST.
- Compile to an evaluator for fast execution.
- Execute against JSON data.
- Format results based on
resultTypeand options.
Key Modules
packages/jsonpathx/src/parser– tokenizer + parser + normalizationpackages/jsonpathx/src/evaluator– evaluation and compilationpackages/jsonpathx/src/results– payload + formatterspackages/jsonpathx/src/core– builder, cache, streaming, mutation helpers
Historical WASM and multi-package architecture is not part of the current codebase.