I am trying to parse a response.text that I get when I make a request using the Python Requests library. For example:
response.text
request
def check_user(s
I found another solution. It is not necessary to use json module. You can create a dict using dict = eval(whatever) and return, in example, dict["result"]. I think it is more elegant. However, the other solutions also work and are correct
json
dict
dict = eval(whatever)
dict["result"]