-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Decoding JSON received with Serial #422
Comments
Hello @marlonrettore, It's a bug. Thanks for reporting this. Regards, |
Good morning mate Would it look like this? char json[] = Stream.read(); StaticJsonBuffer<200> jsonBuffer; JsonObject& root = jsonBuffer.parseObject(json); if (!root.success()) |
Hello @marlonrettore, I'll be even simpler, as no JsonObject& root = jsonBuffer.parseObject(Serial); But you'll need a bigger It's already fixed in the issue422 branch if you want to try. |
Good morning mate,
I'm getting a JSOn via Serial from another arduino, how do I do the decoding of this JSON, I could not do it. Could you give me an example of a serial JSON reception of his decoding?
Thanks, I'm waiting
The text was updated successfully, but these errors were encountered: