[3] In 2010, after debuting in the senior team at local club Gislaveds IS at age 16, Bojanić moved to Östers IF in Superettan, Sweden's second tier.
[8] He reportedly had disciplinary issues during his stay at IFK Göteborg and Bojanić later admitted that he once fell asleep during a team meeting.
[17] He played 29 games in the 2019 season, scoring four goals and providing 11 assists, the most in the league, as Hammarby finished third in the table after eight straight wins at the end of the campaign.
[20] The season was postponed due to the COVID-19 pandemic with Bojanić being in poor form and plagued by injuries, only making 23 appearances as his side disappointedly finished 8th in the table.
[25][26][27][28] On 23 September 2021, Bojanić was appointed as the new club captain of Hammarby by head coach Miloš Milojević, replacing Jeppe Andersen.
[30] Bojanić featured in the final of the 2021–22 Svenska Cupen, in which Hammarby lost by 4–5 on penalties to Malmö FF after the game ended in a 0–0 draw.
[31][32] During the summer, he reportedly attracted interest from FC Zürich in the Swiss Super League, but their bid was rejected.
[6] On 10 November 2022, shortly after the final game of the season, Hammarby accepted a bid from K League 1 club Ulsan Hyundai for his transfer, subject to the player's personal agreement.
[41] In 2021, Bojanić confirmed that he was contemplating switching his allegiance to Bosnia and Herzegovina, where his family originally is from, pending a call-up and an application for dual citizenship.