# You can't unmarshal into a type, you have to create an instance of that type. I suggest you define the type outside main()