task response data convert to json

This commit is contained in:
Volkan Şahin 2016-07-01 16:59:28 +03:00
parent 5ee0f142f7
commit fc4aa05963
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Messaging(object):
data['taskId'] = response.get_id()
data['responseCode'] = response.get_code()
data['responseMessage'] = response.get_message()
data['responseData'] = response.get_data()
data['responseData'] = json.loads(str(response.get_data()))
data['contentType'] = response.get_content_type()
data['timestamp'] = response.get_timestamp()