Skip to content

feat(daemon): JS-exact JSON for the content protocol - #7812

Open
tlgimenes wants to merge 1 commit into
feat/org-sites-project-linkfrom
split/12-daemon-jsjson
Open

tlgimenes wants to merge 1 commit into
feat/org-sites-project-linkfrom
split/12-daemon-jsjson

Conversation

@tlgimenes

@tlgimenes tlgimenes commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Part of the v8 Studio stack, split from #7728, #7770 and #7766 (closed). Base: #7796. The top of the stack, #7843, has the same code as those three PRs combined.

Adds a JSON encoder/decoder to the Go daemon whose number formatting and string escaping match JSON.stringify, so blocks the daemon writes are byte-identical to what deco serve writes. First PR of the Go daemon track of the v8 content protocol.

What to look at

Number formatting and string escaping identical to JSON.stringify (the tests are the spec). go.mod promotes golang.org/x/text to a direct requirement; its importer (assets.go) lands in #7818.

Stack (Go daemon track 1/9, plan step 12): previous #7796 (base) · next #7813

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

Adds a JSON encoder/decoder whose number formatting and string escaping match JSON.stringify exactly, so content the daemon writes is byte-identical to what deco serve writes. The tests are the spec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude PR authored by a coding agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant