LearnNewsExamplesServices
Frontmatter
id8236
title[Neural Link] Implement toJSON in layout.Form
stateClosed
labels
enhancementai
assigneestobiu
createdAtDec 31, 2025, 4:38 PM
updatedAtDec 31, 2025, 4:41 PM
githubUrlhttps://github.com/neomjs/neo/issues/8236
authortobiu
commentsCount1
parentIssue8200
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 31, 2025, 4:41 PM

[Neural Link] Implement toJSON in layout.Form

Closed v11.18.0 enhancementai
tobiu
tobiu commented on Dec 31, 2025, 4:38 PM

Implement the toJSON method in src/layout/Form.mjs to support the Neural Link serialization protocol.

It should return an object containing:

  • Properties from super.toJSON()
  • gap
tobiu added the enhancement label on Dec 31, 2025, 4:39 PM
tobiu added the ai label on Dec 31, 2025, 4:39 PM
tobiu added parent issue #8200 on Dec 31, 2025, 4:39 PM
tobiu assigned to @tobiu on Dec 31, 2025, 4:40 PM
tobiu referenced in commit 4c9e8b7 - "feat(layout): Implement toJSON in Neo.layout.Form for Neural Link serialization (#8236)" on Dec 31, 2025, 4:40 PM
tobiu
tobiu Dec 31, 2025, 4:40 PM

Input from Gemini:

✦ I have implemented the toJSON method in src/layout/Form.mjs. It returns:

{
    ...super.toJSON(),
    gap: this.gap
}
tobiu closed this issue on Dec 31, 2025, 4:41 PM
tobiu referenced in commit 0001f48 - "docs(issue): Close ticket #8236" on Dec 31, 2025, 4:43 PM