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

linux - Could not find a package configuration file provided by "Qt5Svg" -

simple.odata.client - Simple OData Client Unlink -