She started knitting in her spare time.

Literal

She [topic-は] free-time [to-に] knitting [object-を] started.

編み物 (あみもの, 'knitting') is a compound of 編む ('to knit') + 物 ('thing'). 余暇に uses に for the time frame.