We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Specifically, the json.newTypeEncoder. When it returns unsupported function, we can just silently ignore that field.
json.newTypeEncoder
Here is an example when trying to marshal a stack trace with cancelFunc unmarshalable:
error:json: error calling MarshalJSON for type *sorted_map.SortedMap: json: error calling MarshalJSON for type *sorted_map.SortedMap: json: error calling MarshalJSON for type *sorted_map.SortedMap: json: error calling MarshalJSON for type *sorted_map.SortedMap: json: error calling MarshalJSON for type trap.object: field _r1: json: unsupported type: context.CancelFunc
The text was updated successfully, but these errors were encountered:
enhance trace output, addressing #45
6632d13
5e62764
b23264e
60d0e31
No branches or pull requests
Specifically, the
json.newTypeEncoder
. When it returns unsupported function, we can just silently ignore that field.Here is an example when trying to marshal a stack trace with cancelFunc unmarshalable:
The text was updated successfully, but these errors were encountered: