JSONEncoder() encoding of the same key by different types (Swift)
I have an insurmountable problem of how to encode a payload for a request to the server using JSONEncoder(). The object should look like this: { "filter": { "conditions": [ {"key": "id_wbs", "values": [1293548]}, {"key": "id_object", "values": []}, {"key": "id",…