You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get data from here jsonBody
How can I get a good format? override func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header: [String : String]?, withDestination destination: String) {
Optional({
dateMessage = 1564591416932;
id = 3608;
idFeed = 3193;
idSender = 996;
linkPhotoAvatar = "https://s3.us-east-1.amazonaws.com/images-views/chat/1553479212385-1553479211398.jpg";
message = Test;
messageViewed = 0;
nameSender = "test3 test";
type = 0;
})
json error: The data couldn’t be read because it isn’t in the correct format.
The text was updated successfully, but these errors were encountered:
I get data from here jsonBody
How can I get a good format?
override func stompClient(client: StompClientLib!, didReceiveMessageWithJSONBody jsonBody: AnyObject?, withHeader header: [String : String]?, withDestination destination: String) {
Optional({
dateMessage = 1564591416932;
id = 3608;
idFeed = 3193;
idSender = 996;
linkPhotoAvatar = "https://s3.us-east-1.amazonaws.com/images-views/chat/1553479212385-1553479211398.jpg";
message = Test;
messageViewed = 0;
nameSender = "test3 test";
type = 0;
})
json error: The data couldn’t be read because it isn’t in the correct format.
The text was updated successfully, but these errors were encountered: