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

[Neural Link] Implement toJSON in core.Base

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

Objective: Implement the toJSON method in src/core/Base.mjs to serve as the foundation for the framework-wide serialization protocol.

Schema: The method should return an object containing:

  • className: The full class name.
  • id: The instance ID.
  • ntype: The class ntype.
  • remote: The remote method configuration (if present).
  • isDestroyed: Boolean flag indicating if the instance is destroyed.

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

tobiu added the epic label on Dec 31, 2025, 1:38 PM
tobiu added the ai label on Dec 31, 2025, 1:38 PM
tobiu added the architecture label on Dec 31, 2025, 1:38 PM
tobiu referenced in commit 2cfc4cb - "feat(core): Implement toJSON in core.Base (#8224)" on Dec 31, 2025, 1:41 PM
tobiu assigned to @tobiu on Dec 31, 2025, 1:42 PM
tobiu removed the epic label on Dec 31, 2025, 1:42 PM
tobiu added the enhancement label on Dec 31, 2025, 1:42 PM
tobiu
tobiu Dec 31, 2025, 1:42 PM

Input from Gemini:

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

  • className
  • id
  • isDestroyed
  • ntype
  • remote
tobiu added parent issue #8200 on Dec 31, 2025, 1:42 PM
tobiu closed this issue on Dec 31, 2025, 1:42 PM