Ejemplo n.º 1
0
 def _parse_json(text):
     try:
         return json.loads(text)
     except ValueError as e:
         raise_from(ParseException(str(e)), e)
 def _parse_json(text):
     try:
         return json.loads(text)
     except ValueError as e:
         trace = sys.exc_info()[2]
         raise ParseException(str(e)), None, trace