Forward and Backward Slash in Json after conversion

50 views Asked by At

I am currently converting a csv file to a json file using a python code and is further sent as a response to an API. After converting to Json file, Date fields in the json have a forward and backward slash in between whereas in csv its not.

Date in csv:

"2023/04/13"

Date field after conversion:

"certification_date":"2023\/04\/13"

Backward slash (\) is also being added at some blank spaces.

Why is this appended and when can we expect this?

0

There are 0 answers