private void skipQuotedValue(ByteString runTerminator) throws IOException {
    while (true) {
      long index = source.indexOfElement(runTerminator);
      if (index == -1L) {
        throw syntaxError("Unterminated string");
      }

      if (buffer.getByte(index) == '\\') {
        buffer.skip(index + 1);
        readEscapeCharacter();
      } else {
        buffer.skip(index + 1);
        return;
      }
    }
  }
Returns an unquoted value as a string.
lottie/src/main/java/com/airbnb/lottie/parser/moshi/JsonUtf8Reader.java