I have one function in Python that returns json as HttpResponse for the client side as:-
def get_response():
return HttpResponse(json.dumps({'status':1}))
Now from the server itself I want a script to decode the value returned by the function itself and check the status value as:-
check_value = READ_THE_RESPONSE_VALUE(get_response())['status']
How can I do this??