Frontmatter
| id | 8228 |
| title | [Neural Link] Implement toJSON in container.Base |
| state | Closed |
| labels | enhancementaiarchitecture |
| assignees | tobiu |
| createdAt | Dec 31, 2025, 2:45 PM |
| updatedAt | Dec 31, 2025, 2:55 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8228 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8200 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 31, 2025, 2:55 PM |
[Neural Link] Implement toJSON in container.Base
tobiu added parent issue #8200 on Dec 31, 2025, 2:45 PM
tobiu assigned to @tobiu on Dec 31, 2025, 2:48 PM

tobiu
Dec 31, 2025, 2:55 PM
Input from Gemini:
✦ Implemented
toJSON()insrc/container/Base.mjs. The method serializes:
dragResortableitemCountitemDefaultslayout(delegated serialization)
tobiu closed this issue on Dec 31, 2025, 2:55 PM
Objective: Implement the
toJSONmethod insrc/container/Base.mjs.Schema: The method should return an object containing (in addition to
component.Baseproperties):itemCount:this.items?.length || 0itemDefaults: The default configuration for items.layout:this.layout?.toJSON()(Delegated serialization)Note: We avoid recursively serializing
items.Context: This is part of the Neural Link serialization epic.