movilitero opened this issue · comments
I have a definition as Any. As it has its complications i changed it manually to a [String: Any] dictionary.
When an int with value 1 or 0 is encoded, its converted into boolean.
if you have a type: object it will be translated as [String: Any]. If you add ["MyId": 1] to the dictionary, when you send it it will be sent as MyId: true