ArduinoJson: API Reference

JsonObject::measurePrettyLength()

Description

Gets the length of string produced by JsonObject::prettyPrintTo().

Return value

The number of characters in the JSON string that would be generated by JsonObject::prettyPrintTo().

It doesn’t include the zero-terminator.

Signature
size_t measurePrettyLength() const
Fork me on GitHub