You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is not enough room in json_buffer to store the copy of the string.
Therefore, only the overload that makes no copy can work.
To make them work, you need to increase the size of the StatisJsonBuffer of the size of the string (plus some bytes for the alignment and the terminator).
Here is a problematic code:
As explained here:
But as stated here, the function can also take a
String
orconst char*
but will make a copy of this string.So all 3 should work, I guess... What's wrong?
The text was updated successfully, but these errors were encountered: