LearnNewsExamplesServices
Frontmatter
id8259
title[Neural Link] Implement toJSON in selection.Model
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 1, 2026, 5:47 PM
updatedAtJan 1, 2026, 5:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/8259
authortobiu
commentsCount0
parentIssue8200
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 1, 2026, 5:52 PM

[Neural Link] Implement toJSON in selection.Model

Closed v11.18.0 enhancementai
tobiu
tobiu commented on Jan 1, 2026, 5:47 PM

Objective: Implement toJSON in src/selection/Model.mjs to support Neural Link inspection.

Requirements:

  • Extend the base toJSON output.
  • Serialize selectedCls and singleSelect.
  • Serialize items.
    • Handle potential Neo.data.Model records within items by calling their toJSON method.
    • Handle string-based IDs.

Parent Issue: #8200

tobiu added the enhancement label on Jan 1, 2026, 5:47 PM
tobiu added the ai label on Jan 1, 2026, 5:47 PM
tobiu assigned to @tobiu on Jan 1, 2026, 5:51 PM
tobiu added parent issue #8200 on Jan 1, 2026, 5:52 PM
tobiu referenced in commit dcc9ff4 - "feat(selection): Implement toJSON in Model #8259" on Jan 1, 2026, 5:52 PM
tobiu closed this issue on Jan 1, 2026, 5:52 PM