Skip to content

fix : datetime is not json serializable #50

Open
SidduHussain wants to merge 1 commit intocrowemi:mainfrom
SidduHussain:fix-datetime-is-not-json-serializable
Open

fix : datetime is not json serializable #50
SidduHussain wants to merge 1 commit intocrowemi:mainfrom
SidduHussain:fix-datetime-is-not-json-serializable

Conversation

@SidduHussain
Copy link

On selecting jsonl as target type

  • All datetime type schema properties were failing with the error (datetime is not JSON serializable).
  • You can simply enable the config include_process_date, and this error will appear with format_type: jsonl.
  • Added custom JSON serializer which is already used to fix issue bug: TypeError: Object of type datetime is not JSON serializable #1

added class JsonSerialize  in dumps ,  to capture object and datetime serialization
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