Skip to content

support database/sql scanning json into string/[]byte/json.RawMessage#1623

Merged
SpencerTorres merged 2 commits intomainfrom
stdlib_json_scan_string
Jul 30, 2025
Merged

support database/sql scanning json into string/[]byte/json.RawMessage#1623
SpencerTorres merged 2 commits intomainfrom
stdlib_json_scan_string

Conversation

@SpencerTorres
Copy link
Copy Markdown
Member

Summary

The database/sql interface now supports scanning JSON strings into string, []byte and json.RawMessage.
The String type was also updated to support new cases for scanning and appending []byte.

Checklist

  • Unit and integration tests covering the common scenarios were added

@SpencerTorres SpencerTorres merged commit 500ce05 into main Jul 30, 2025
14 checks passed
@SpencerTorres SpencerTorres deleted the stdlib_json_scan_string branch July 30, 2025 08:17
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.

1 participant