Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Marshal/Unmarshal JSON Byte Slice - HTTP driver #40

Open
sahidrahman404 opened this issue Jun 25, 2023 · 0 comments
Open

Support Marshal/Unmarshal JSON Byte Slice - HTTP driver #40

sahidrahman404 opened this issue Jun 25, 2023 · 0 comments

Comments

@sahidrahman404
Copy link

Currently If you use the HTTP driver, you will get this error if you try to marshal a struct field to JSON byte slice or unmarshal JSON byte slice into a struct field. The error looks like this

sql: Scan error on column index 9, name \"genres\": unsupported Scan, storing driver.Value type map[string]interface {} into type *[]uint8

You won't get the above error if you use the WS driver

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

No branches or pull requests

1 participant