def json_decode(self, encoded_json):
json_decoder = json.JSONDecoder()
try:
return json_decoder.decode(encoded_json)
except:
logging.debug("JSON error from {} container \n==\n {} \n==\n".format(self.module_cls_name, encoded_json))
return None
评论列表
文章目录