How sourcemeta/jsontoolkit works
Main Components Identification
The system should be divided into these core modules, based on the src/ directory structure:
• JSON Core Module (src/json)
• JSONL Module (src/jsonl)
• JSON Pointer Module (src/jsonpointer)
• JSON Schema Module (src/jsonschema)
• URI Module (src/uri)
• Regex Module (src/regex)
Component Details
For each component, include:
JSON Core Module:
• Parser
• Value Types (Object, Array, etc.)
• Serialization
• Error Handling
JSONL Module:
• Iterator Implementation
• Streaming Capabilities
JSON Pointer Module:
• Pointer Resolution
• Document Navigation
• Position Tracking
JSON Schema Module:
• Validation Engine
• Schema Bundling
• Reference Resolution
• Dialect Support
URI Module:
• URI Parsing
• Normalization
• Resolution
Regex Module:
• Pattern Matching
• Regex Operations
Technical Details
Annotations for:
• C++ Standard Library dependencies
• Header-only vs. Compiled components
• Public API entry points
• Test coverage relationships