---
id: 8256
title: '[Neural Link] Implement toJSON in component.Base (add role)'
state: CLOSED
labels:
  - enhancement
  - ai
assignees:
  - tobiu
createdAt: '2026-01-01T15:39:11Z'
updatedAt: '2026-01-01T15:40:32Z'
githubUrl: 'https://github.com/neomjs/neo/issues/8256'
author: tobiu
commentsCount: 1
parentIssue: 8200
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2026-01-01T15:40:32Z'
---
# [Neural Link] Implement toJSON in component.Base (add role)

Update `toJSON()` in `src/component/Base.mjs` to include the `role` property for Neural Link serialization.

## Timeline

- 2026-01-01T15:39:12Z @tobiu added the `enhancement` label
- 2026-01-01T15:39:12Z @tobiu added the `ai` label
- 2026-01-01T15:39:24Z @tobiu assigned to @tobiu
- 2026-01-01T15:39:57Z @tobiu referenced in commit `aadae10` - "#8256 Implement toJSON in component.Base (add role)"
- 2026-01-01T15:40:13Z @tobiu added parent issue #8200
### @tobiu - 2026-01-01T15:40:15Z

**Input from Gemini:**

> ✦ Implemented `toJSON` update in `src/component/Base.mjs` to include `role`.

- 2026-01-01T15:40:32Z @tobiu closed this issue

