Abstract
This disclosure describes a technique for extracting sub-JSONs from large JSON configurations (e.g., greater than 80,000 lines) without requiring JSON Schema definitions or knowledge of the JSON structure. The approach employs embedded marker annotations within JSON objects that specify filter criteria using a domain-specific language (DSL). A recursive parser evaluates these markers against user-selected filters to produce tailored configuration subsets on demand.
The DSL supports OR logic (comma-separated filters), AND logic (plus-sign conjunction), mixed boolean expressions, and recursive nested item evaluation via a checkNestedItems parameter. A key characteristic is imperative selection: elements without markers are included automatically in the output, ensuring common fields propagate without explicit tagging. This inverts the typical pattern where every desired element must be explicitly specified.
This technique enables a single annotated configuration to generate multiple customer-specific or industry-specific outputs, eliminating the exponential file proliferation (2^N files for N filters) that plagues traditional approaches. The marker-based approach reduces configuration management to a single source file while supporting complex, multi-dimensional filter logic.
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 License.
Recommended Citation
Anonymous, "Marker-Based Imperative Extraction Facility for JSON Configurations", Technical Disclosure Commons, (February 02, 2026)
https://www.tdcommons.org/dpubs_series/9259