Frontmatter
| id | 7826 |
| title | Extract JSON parsing logic into Neo.util.Json |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Nov 20, 2025, 8:58 PM |
| updatedAt | Nov 20, 2025, 8:59 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7826 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 20, 2025, 8:59 PM |
Refactor the JSON parsing logic from
SessionServiceinto a reusableNeo.util.Jsonclass. This utility handles Markdown code block stripping (json/js/javascript) to reliably parse AI responses.Related to #7825.
Tasks:
src/util/Json.mjssrc/util/_export.mjsSessionService.mjs