Add jsmn_zig JSON tokenizer#54
Open
Ferki-git-creator wants to merge 1 commit into
Open
Conversation
## Add jsmn_zig - Memory-efficient JSON tokenizer **jsmn_zig** is a Zig port of JSMN with significant improvements: ### Key Features: - **4-byte compact tokens** (vs 20+ bytes in standard tokens - 80% memory savings) - **Zero-copy streaming** with proper state management - **Hybrid memory allocation** - auto-switches between stack/heap - **SIMD-ready optimizations** for x86/ARM - **Comptime-configurable** for embedded use ### Perfect for: - Embedded systems where memory matters - High-performance JSON parsing - Network protocol implementations - Configuration file parsing The library maintains JSMN's simplicity while leveraging Zig's comptime power and memory safety.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add jsmn_zig - Memory-efficient JSON tokenizer
jsmn_zig is a Zig port of JSMN with significant improvements:
Key Features:
Perfect for:
The library maintains JSMN's simplicity while leveraging Zig's comptime power and memory safety.