how to solve those object[] params?