json - ios swift 3 - POST UInt8 array -


i'm trying send image (as uint8 array) in request app crash @ line of code

 _request.httpbody = try? jsonserialization.data(withjsonobject : self.parameters , options: []) 

where self.parameters dictionary

the crash message "invalid type in json write (_swiftvalue)"

does know how solve problem ?


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -