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
The current Codec standard json addition (e.g. NewCodecForStandardJSONFull()) only seems to support long datetimes and int dates respectively...
NewCodecForStandardJSONFull()
When passing a date as ISO8601 (e.g. 2024-01-02T19:55:36.654287-08:00), it throws the following error:
2024-01-02T19:55:36.654287-08:00
could not decode any json data in input \"2024-01-02T19:55:36.654287-08:00\",\"flavor\":\"chocolate\"} for key: \"created_date\""}
Here are the steps to reproduce:
{"type": "record", "name": "cupcake", "fields": [{"name": "flavor", "type": "string"}, {"name": "created_date", "type": ["null",{"type": "long","logicalType": "timestamp-millis"}],"default": null}]}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The current Codec standard json addition (e.g.
NewCodecForStandardJSONFull()
) only seems to support long datetimes and int dates respectively...When passing a date as ISO8601 (e.g.
2024-01-02T19:55:36.654287-08:00
), it throws the following error:Here are the steps to reproduce:
{"type": "record", "name": "cupcake", "fields": [{"name": "flavor", "type": "string"}, {"name": "created_date", "type": ["null",{"type": "long","logicalType": "timestamp-millis"}],"default": null}]}
The text was updated successfully, but these errors were encountered: