当我调用网络服务时,我传递参数如下
["user_auth": dicAuth,"application":"","name_value_list":"","user_details":dicUserDetail,"language":"en_us"]
但是当我调用网络服务时,它会更改顺序,如下所示
["application": "", "language": "en_us", "user_auth": ["password": "admin", "user_name": "admin"], "user_details": ["device_token_type": "1235145s4df2315423123454231", "device_type": "iOS"], "name_value_list": ""]
但我想按顺序传递。 有什么帮助吗?
在以下第三方中找到解决方案
https://github.com/lukaskubanek/OrderedDictionary