#NEWLINE# def ConsumeString( self ) : #NEWLINE# #INDENT# "Consumes a string value.\n\n    Returns:\n      The string parsed.\n\n    Raises:\n      ParseError: If a string value couldn't be consumed.\n    " #NEWLINE# the_bytes = self . ConsumeByteString ( ) #NEWLINE# try : #NEWLINE# #INDENT# return six . text_type ( e , 'utf-8' ) #NEWLINE# #UNINDENT# except UnicodeDecodeError as e : #NEWLINE# #INDENT# raise self . _StringParseError ( e )