Tries to add value of any type to arguments. Only JObject and not-null primitives are supported.
if T is neither primitive nor CPointer.
if T is nullable primitive.