I am loading json data from an API and that json contains a string which have "'" (apostrophe) and its getting converted into "’" in my Python 3.6/3.8 app. API is giving correct response (checked in postman).
I have tried multiple solutions that I have found here but none of them are working
json.dumps(json_data).encode('utf-8').decode('unicode-escape')
json.dumps(json_data).encode("ascii", "ignore")
json.dumps(json_data).encode('ascii', 'ignore').decode('ascii')
json.dumps(json_data, indent=2, ensure_ascii=False)
So what's the problem, and how can I fix it?