Create a custom activity with a generic type input

I am looking to write a Custom activity that can serialize/deserilaize a given class. Wanted to use generic for input that will be serialized.
I am not able to get how will I actually do that since codeActivity already accepts generic type.
Any help will be great.

Hi @anurag.lko

Please see my post here: