Question: Write a function that will map a Json string to a dictionary. For instance, the function will take this string as a parameter: {'totalCount': '1',

 Write a function that will map a Json string to a

Write a function that will map a Json string to a dictionary. For instance, the function will take this string as a parameter: "{'totalCount': '1', 'ID': '1029', 'IP': '10.0.0.1'}" And will return a dictionary that will have the following values result["totalCount"]: value will be "1" result ["ID"]: value will be "1029" result ["IP"]: value will be "10.0.0.1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!