code: func stringEnd(data []byte) (int, bool) {
  	escaped := false
  	for i, c := range data {
  		if c == '"' {
  			if !escaped {
  				return i + 1, false
  			} else {
  				j := i - 1
  				for {
  					if j < 0 || data[j] != '\\' {
  						return i + 1, true // even number of backslashes
  					}
  					j--
  					if j < 0 || data[j] != '\\' {
  						break // odd number of backslashes
  					}
  					j--
  
  				}
  			}
  		} else if c == '\\' {
  			escaped = true
  		}
  	}
  
  	return -1, escaped
  }
docs: // Tries to find the end of string
  // Support if string contains escaped quote symbols.