Investors defied a technology-market slump to send shares of Chinese online retailer JD.com Inc. as much as 20% higher after its initial public offering Thursday in New York.

The strong debut is a sign of investor interest in China's growing e-commerce market, whose leader Alibaba Group Holding Ltd. is expected to list in the U.S. later this year. JD.com is Alibaba's closest rival.