cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

how to know json string length?

Open CxMachine opened this issue 4 years ago • 2 comments

RAM is small,so i just want to know the json string length before printed. it's seems no this function!

CxMachine avatar Aug 20 '20 14:08 CxMachine

I suggest adding a function to calculate the JSON string length. However,Memory size can be specified to prevent out of bounds.

CxMachine avatar Aug 20 '20 14:08 CxMachine

I suggest so too.

MartyMcFlyInTheSky avatar Sep 02 '22 05:09 MartyMcFlyInTheSky