#6154 [Core feature] Pass a dict to containertask
Issue created by
doLei-2001
### Motivation: Why do you think this is important?
As far as I know, only basic types such as str-int-float can be passed into containertask. If you want to pass dict/json type into it, you can only use json.dumps to convert it to str first, and then pass it. It still needs to be loaded into dict-json type inside the image. This is very troublesome.
for 2 ways:
1. json.dumps() / json.loads()
2. flytefile pass a file into containertask
### Goal: What should the final outcome look like, ideally?
We can directly pass dict type data to containertask, and we can easily get it in the image
### Describe alternatives you've considered
easy to use
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte