-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paranthesis missing #16
Comments
for a sample json like this after receiving in atleast once case its missing "{" and receiving like below.
|
Sorry, but I didn't face this issue till now. It would be great if you could replicate this issue with a failing test case. |
I have corrected in my code and the change is in MQTTPublishPacket.swift `
` Now if you notice your old code the payload.subdata line you are not starting from 0. You are starting from 2...which was the cause of that problem. |
Hi,
whenever I publish or subscribe we are missing "{" in the JSON. so finally it says invalid JSON payload to server. So app is unable to consume that JSON.
The text was updated successfully, but these errors were encountered: