json-semi-indexing

Index JSON documents using Interest Bits and Balanced Parentheses structures.

51|3|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/rust-works/succinctly --skill json-semi-indexing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-semi-indexing
Source: https://github.com/rust-works/succinctly/tree/main/.claude/skills/json-semi-indexing
Command: npx skills add https://github.com/rust-works/succinctly --skill json-semi-indexing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

JSON semi-indexing provides structure-aware indexing that lets you navigate JSON data quickly without full DOM parsing, reducing latency for queries and analytics while saving memory.

Core Features & Use Cases

  • Semi-Index Structure: Interest Bits (IB) mark structural positions and Balanced Parentheses (BP) encode the tree for fast navigation.
  • Multi-Architecture Dispatch & SIMD: Runtime selection of correct SIMD path (x86 SSE/AVX; aarch64 NEON) for speed.
  • PFSM Table-Driven Parser: Table-driven parsing enables high-throughput JSON processing.
  • Use Cases: Streaming JSON, large configuration files, and log analytics with rapid structural queries.

Quick Start

Build a semi-index from a JSON payload and run a structure-guided query to fetch nested values.

Frequently Asked Questions about json-semi-indexing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I speed up JSON navigation without full DOM parsing?

JSON semi-indexing accelerates navigation by using Interest Bits and Balanced Parentheses to encode structural positions, allowing fast queries without loading the entire document into memory.

What is the best way to process large streaming JSON files for log analytics?

Processing large streaming JSON files with semi-indexing enables rapid structural queries for log analytics, using a PFSM table-driven parser and SIMD-accelerated classification for high throughput.

Does SIMD acceleration work across different CPU architectures for JSON parsing?

SIMD acceleration supports JSON parsing across different CPU architectures through runtime dispatch, automatically selecting the correct path for x86 SSE/AVX or aarch64 NEON instruction sets.

When do I need semi-indexing instead of standard JSON parsing?

You need semi-indexing when querying large configuration files or streaming logs where full DOM parsing causes high latency and memory overhead, requiring structure-aware indexing instead.

How to build an index from a JSON payload to fetch nested values?

Build a semi-index from a JSON payload by generating Interest Bits for structural positions and a Balanced Parentheses tree, then run structure-guided queries to fetch nested values quickly.

Why use a table-driven parser for high-throughput JSON processing?

A PFSM table-driven parser enables high-throughput JSON processing by systematically transitioning between parsing states, optimizing structural classification during semi-index construction.