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

Complex Types are not supported by JSON encoder #13

Closed
codyolsen opened this issue Dec 15, 2020 · 1 comment · Fixed by #16
Closed

Complex Types are not supported by JSON encoder #13

codyolsen opened this issue Dec 15, 2020 · 1 comment · Fixed by #16

Comments

@codyolsen
Copy link

Attempting to marshal/unmarshal Complex64 and Complex128 will throw json: unsupported type: complex[64/128] as they are not supported by the JSON encoder.

https://github.com/golang/go/blob/129bb1917b4914f0743ec9b4ef0dfb74df39c07d/src/encoding/json/encode.go#L150

@codyolsen codyolsen changed the title Complex Types are not Supported by JSON encoder Complex Types are not supported by JSON encoder Dec 15, 2020
@markphelps
Copy link
Owner

Thanks @codyolsen . Fixed in #16 and released in v0.8.0

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 a pull request may close this issue.

2 participants