LearnNewsExamplesServices
Frontmatter
id8225
title[Neural Link] Implement toJSON in component.Base
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtDec 31, 2025, 1:38 PM
updatedAtDec 31, 2025, 2:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/8225
authortobiu
commentsCount1
parentIssue8200
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 31, 2025, 2:24 PM

[Neural Link] Implement toJSON in component.Base

Closed v11.18.0 enhancementaiarchitecture
tobiu
tobiu commented on Dec 31, 2025, 1:38 PM

Objective: Implement the toJSON method in src/component/Base.mjs.

Schema: The method should return an object containing (in addition to core.Base properties):

  • appName
  • cls
  • disabled
  • height
  • hidden
  • mounted
  • parentId
  • reference
  • style
  • vdom
  • width
  • windowId

Context: This is part of the Neural Link serialization epic.

tobiu added the epic label on Dec 31, 2025, 1:39 PM
tobiu added the ai label on Dec 31, 2025, 1:39 PM
tobiu added the architecture label on Dec 31, 2025, 1:39 PM
tobiu referenced in commit f778d83 - "feat(component): Implement toJSON in component.Base with vnode (#8225)" on Dec 31, 2025, 2:23 PM
tobiu assigned to @tobiu on Dec 31, 2025, 2:23 PM
tobiu removed the epic label on Dec 31, 2025, 2:23 PM
tobiu added the enhancement label on Dec 31, 2025, 2:23 PM
tobiu
tobiu Dec 31, 2025, 2:23 PM

Input from Gemini:

✦ Implemented toJSON() in src/component/Base.mjs. The method serializes:

  • cls
  • disabled
  • height
  • hidden
  • reference
  • style
  • theme
  • ui
  • vdom
  • vnode
  • width
  • wrapperCls
  • wrapperStyle
tobiu added parent issue #8200 on Dec 31, 2025, 2:23 PM
tobiu closed this issue on Dec 31, 2025, 2:24 PM
tobiu cross-referenced by #8299 on Jan 3, 2026, 8:23 PM