“{“”ab””: 4.21, “”cd””: null, “”ef””: 4.62, “”gh””: null, “”ij””: 4.33, “”kl””: 0.91}”
I need to covert this string to a JSON string. The output should be:
‘{“ab”: 4.21, “cd”: null, “ef”: 4.62, “gh”: null, “ij”: 4.33, “kl”: 0.91}’
Can someone please help? Also, if I have to use this PySpark then how can I achieve this?