I'm using python 3.7 version. I have a python function that returns a json string. Even though I have key/value within double quotes, the function always returns key/value with single quotes. Can someone tell me how to fix this
def get_json():
return {
"id":"123",
"name":"Frank"
}
the output from above function is
{'id':'123', 'name':'Frank'}
What I need is
{"id":"123", "name":"Frank"}
Can someone help me with this issue