How to post nested json like below as body of method by SwiftyJson and Alamofire?(Swift 3)
{
"a":{
"a1": "v1",
"a2": "v2"
},
"b":"bv"
}
I check lots of post Json post nested objects in swift using alamofire , How do I access a nested JSON value using Alamofire and SwiftyJSON? , Alamofire JSON Serialization of Objects and Collections and ... but none of them helped for this situation.
try this
I hope this helps