10000 Thingsboard serialize json data issue · Issue #2054 · bblanchon/ArduinoJson · GitHub
[go: up one dir, main page]

Skip to content
Thingsboard serialize json data issue #2054
@gittimotap

Description

@gittimotap

Describe the bug
thingsboard/thingsboard#10164

Troubleshooter report
Here is the report generated by the ArduinoJson Troubleshooter:
[Paste the report here]

Environment
Here is the environment that I used:

Reproduction
Here is a small snippet that reproduces the issue.

JsonDocument doc;

DeserializationError error = deserializeJson(doc, "{\"hello\":\"world\"}");

[insert repro code here]
https://github.com/thingsboard/thingsboard-client-sdk/blob/master/examples/0003-esp8266_esp32_send_data/0003-esp8266_esp32_send_data.ino

**Compiler output**    
If relevant, include the complete compiler output (i.e. not just the line that contains the error.)

**Program output**  
If relevant, include the repro program output.
16:59:57.275 -> .Connected to AP
16:59:58.286 -> Connecting to: (demo.thingsboard.io) with token (xxxxx)
16:59:58.493 -> Sending temperature data...
16:59:58.493 -> [TB] Unable to serialize json data
16:59:58.493 -> Sending humidity data...
16:59:58.493 -> [TB] Unable to serialize json data
16:59:59.496 -> Sending temperature data...
16:59:59.496 -> [TB] Unable to serialize json data
16:59:59.496 -> Sending humidity data...
16:59:59.496 -> [TB] Unable to serialize json data
17:00:00.466 -> Sending temperature data...
17:00:00.466 -> [TB] Unable to serialize json data

Expected output:

[insert expected output here]


Actual output:

[insert actual output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugv7ArduinoJson 7

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0