This is my response code from GCM-python,
{"multicast_id":6343554431392278573,"success":5,"failure":15,"canonical_ids":0,"results":[{"message_id":"0:1380910865603840%356b
9054f9fd7ecd"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":
"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"message_id":"0:1380910865592683%356b9054f9fd7ecd"},{"erro
r":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"error":"NotRegistered"},{"er
ror":"NotRegistered"},{"message_id":"0:1380910865600910%356b9054f9fd7ecd"},{"error":"NotRegistered"},{"message_id":"0:1380910865
596592%356b9054f9fd7ecd"},{"error":"NotRegistered"},{"message_id":"0:1380910865595499%356b9054f9fd7ecd"}]}
When i get this response, i want to collect all error keys from dictionary...but it seems like it is a string and i'll try dump in json using json.dumps() and then remove slashes but not working for me, not even ast working. I try this one python json dumps. What am i missing there? please help me in this.
json.loadsnotjson.dumps. Dump = From data object to string (serialization); load = from string to data object (deserialization).coderesult = [ json.loads(resp) for resp in data ]codeand i get an error:codeValueError: Unterminated string starting at: line 1 column 104 (char 104)code