Domanda di colloquio di Coursera

given a nested python dictionary, transform to json format given a string of json format -> python dictionary I use Python, basically it is like "map" -> "json" examples ditc{"a": "apple", "b": "banana", "c": {"c1": "cat", "c2": "cup"}} ---> "{a:apple,b:banana,c:{c1:cat,c2:cup}}"