Skip to content

fix(docs): remove trailing comma from JSON response example in agent-builder-codes#1393

Open
schoolkamsergj wants to merge 1 commit intobase:masterfrom
schoolkamsergj:fix/trailing-comma-agent-builder-codes
Open

fix(docs): remove trailing comma from JSON response example in agent-builder-codes#1393
schoolkamsergj wants to merge 1 commit intobase:masterfrom
schoolkamsergj:fix/trailing-comma-agent-builder-codes

Conversation

@schoolkamsergj
Copy link
Copy Markdown

Closes #1313

What changed? Why?
The JSON response example in docs/ai-agents/setup/agent-builder-codes.mdx contained a trailing comma after "walletAddress", making it invalid JSON.

Trailing commas are not valid in JSON (RFC 8259) and will cause parse errors in any strict JSON parser.

Change

// Before (invalid JSON)
{
  "builderCode": "bc_a1b2c3d4",
  "walletAddress": "0x...",
}

// After (valid JSON)
{
  "builderCode": "bc_a1b2c3d4",
  "walletAddress": "0x..."
}

How has it been tested?
Validated with JSON.parse() — no errors after the fix.

@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(docs): remove trailing comma from JSON response example in agent-builder-codes

2 participants