| 1 | id: STK-REQ-001 |
| 2 | version: 1 |
| 3 | status: review |
| 4 | priority: shall |
| 5 | category: functional |
| 6 | req_type: guarantee |
| 7 | fretish: "" |
| 8 | description: Library users shall retrieve values from JSON byte payloads by specifying a key path without predeclaring Go structs. |
| 9 | formalization_strategy: informal |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: This is the core value proposition described in the project README and the primary reason to adopt jsonparser over encoding/json for dynamic payloads. |
| 16 | tags: [] |
| 17 | variables: [] |
| 18 | traces: |
| 19 | documented_by_extra: |
| 20 | - README.md |
| 21 | reviewed_at: "2026-04-27T06:25:19.194955Z" |
| 22 | reviewed_by: human:leonidbugaev |
| 23 | verification: |
| 24 | assurance_level: E |
| 25 | formalization_status: none |
| 26 | review: |
| 27 | status: approved |
| 28 | reviewer: human:leonidbugaev |
| 29 | reviewed_at: "2026-04-23T00:00:00Z" |
| 30 | ai_generated: false |
| 31 | history: |
| 32 | created_by: human:cli |
| 33 | created_at: "2026-04-13T16:22:41Z" |
| 34 | last_modified_by: human:cli |
| 35 | last_modified_at: "2026-04-13T16:25:24Z" |
| 36 | stakeholder: |
| 37 | persona: Go developers consuming dynamic JSON payloads |
| 38 | story: As a Go developer consuming unpredictable JSON APIs, I want to retrieve nested values by key path without predeclaring structs so that I can process payloads directly from byte slices. |
| 39 | acceptance_criteria: |
| 40 | - id: AC-1 |
| 41 | text: A caller can request a nested value by path from a JSON byte slice and receive the correct value, not-found result, or parsing error for the addressed input case. |
| 42 | testable: true |
| 43 | derived_reqs: |
| 44 | - SYS-REQ-001 |
| 45 | - SYS-REQ-016 |
| 46 | - SYS-REQ-017 |
| 47 | - SYS-REQ-018 |
| 48 | - SYS-REQ-019 |
| 49 | - SYS-REQ-020 |
| 50 | - SYS-REQ-021 |
| 51 | - SYS-REQ-022 |
| 52 | - SYS-REQ-023 |
| 53 | - SYS-REQ-024 |
| 54 | - SYS-REQ-025 |
| 55 | - SYS-REQ-026 |
| 56 | - SYS-REQ-027 |
| 57 | - SYS-REQ-041 |
| 58 | - SYS-REQ-042 |
| 59 | - SYS-REQ-043 |
| 60 | - SYS-REQ-044 |
| 61 | - SYS-REQ-045 |
| 62 | - SYS-REQ-046 |
| 63 | - SYS-REQ-047 |
| 64 | - SYS-REQ-086 |
| 65 | - SYS-REQ-087 |
| 66 | - SYS-REQ-088 |
| 67 | - SYS-REQ-089 |
| 68 | obligation_checklist: |
| 69 | - nominal |
| 70 | - missing_path |
| 71 | - malformed_input |
| 72 | - truncated_at_value_boundary |
| 73 | - truncated_mid_structure |
| 74 | - truncated_mid_key |
| 75 | - empty_input |
| 76 | - boundary |
| 77 | - type_mismatch |
| 78 | - negative_array_index |
| 79 | - sentinel_value_boundary |
| 80 | - determinism |
| 81 | - idempotency |
| 82 | - nil_safety |
| 83 | - edge_case |
| 84 | lifecycle: |
| 85 | change_history: |
| 86 | - date: "2026-04-13T16:25:24Z" |
| 87 | from: draft |
| 88 | to: review |
| 89 | reason: "" |
| 90 | changed_by: human:cli |