# Is it possible to save a \[Any\]?

**URL:** <https://community.parseplatform.org/t/is-it-possible-to-save-a-any/2553>\
**Category:** ParseSwift SDK\
**Created:** [March 28, 2022, 9:52pm UTC](https://community.parseplatform.org/t/is-it-possible-to-save-a-any/2553 "2022-03-28T21:52:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EliteTechnicalCare](https://community.parseplatform.org/user_avatar/community.parseplatform.org/elitetechnicalcare/32/937_2.png) [@EliteTechnicalCare](https://community.parseplatform.org/u/EliteTechnicalCare)\
**Post date:** [March 28, 2022, 9:52pm UTC](https://community.parseplatform.org/t/is-it-possible-to-save-a-any/2553/1 "2022-03-28T21:52:58Z")

</div>

Say I have an Array with multiple types: [“Hello World”, true, 3] (String, Bool, Int)  
Would I be able to save the above in parse? I have attempted to do the following with no avail:

```auto
struct Template: ParseObject {
    var originalData: Data?
    var objectId: String?
    var createdAt: Date?
    var updatedAt: Date?
    var ACL: ParseACL?
    
    var template: [String]?
    var templateData: [Any]?
}

```

Xcode proceeded to yell the following at me:

 ![image](https://parse-community-forum-uploads.s3.dualstack.us-east-1.amazonaws.com/original/2X/e/ed0ab28ae99a9b7a8c19c35c1de3ec8ab7a71bd8.png)

How would I go about (or is it even possible) to save a [Any]

---

<div class="post-metadata">

**Author:** ![cbaker6](https://community.parseplatform.org/user_avatar/community.parseplatform.org/cbaker6/32/114_2.png) [@cbaker6](https://community.parseplatform.org/u/cbaker6)\
**Post date:** [March 28, 2022, 11:18pm UTC](https://community.parseplatform.org/t/is-it-possible-to-save-a-any/2553/2 "2022-03-28T23:18:54Z")

</div>

> [@EliteTechnicalCare](#):
>
> Would I be able to save the above in parse? I have attempted to do the following with no avail:

> [@How to return from Parse Cloud Function in Node.js](https://community.parseplatform.org/t/how-to-return-from-parse-cloud-function-in-node-js/2303/11):
>
> Is there a way to modify the arguments property so that I can use a [String : Any]? No, Any isn’t Encodable, this only works with types that conform to the Encodable protocol. The dictionary for an argument was just an example. Your arguments can be separated into multiple properties of your cloud struct: struct Cloud: ParseCloud { typealias ReturnType = EmailType var functionJobName: String var argument1: String // Required parameter to your cloud function, `argument1` should match th…

Type erasure is also mentioned in the docs: [Query Structure Reference](http://parseplatform.org/Parse-Swift/api/Structs/Query.html#/s:10ParseSwift5QueryV11findExplain12usingMongoDB7optionsSayqd __GSb_ShyAA3APIV6OptionOGtYaKSeRd__ lF)
