Gets the length of string produced by
This can be very handy to fill the
Content-Length of an HTTP request or response.
The number of characters in the JSON string that would be generated by
It doesn’t include the zero-terminator.
size_t measureLength() const