code: def _trim_value(self, value):
          
  
          if value[0] == '"':
              assert value[-1] == '"'
              value = value[1:-1].replace('\\"', '"').replace("\\\\", "\\")
              return Parser._unescape_re.sub(Parser._unescape_fn, value)
          return value
docs: Trim double quotes off the ends of a value, un-escaping inner
          double quotes and literal backslashes. Also convert escapes to unicode.
          If the string is not quoted, return it unmodified.