How do I pass an array of objects to a server connect?

Are you following this?