React router v6 pass an object to the URL

Is it possible to pass an object to the URL?

Example:

item.idData = {carType: 2, carBrand: 3, carModel: null, carFuel: 3, carStates: null, …}

to={`/?${[item.idData]}`} 

Result: /?[object%20Object]

Need result: /?carType=2&carBrand=3&carModel=null&...