Skip to content

serializeJson() only prints the first characters of strings on Arduino Due #2181

@sezaicelikdogan

Description

@sezaicelikdogan

Starting from version 7.2.1 and above serializeJson(doc, Serial) do not create pair names correctly. Only the first letters of the value pairs are stored.

For example:
doc["cat"] = "sensor";
doc["type"] = "rpm";

is serialized as {"c":"s","t":"r"}

below 7.2.1 this problem not occurs

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