As this is a general question about JSONItem.ToString()-performance, I have no source code as an example.
I have a database request which results in an about 848KB size for a string after JSONItem.ToString().
The table was 10 columns and 4200 rows; the JSONItem object is already built up.
I am only talking about performance of the ToString()-method.
I already measured encodeBase64 and database request itself and converting to JSONItem -> they are all very fast!
The call to ToString() needed about 4 seconds.
First, is this speed to be assumed for the given result bytes amount?
My guess is the following: the performance is not so good because no string builder is used internally but string is repeatedly extended on and on.
Hopefully I am wrong here.
So, last question, is there an add-on/class from Monkeybread Software for faster JSONItem-to-string handling?
Unfortunately, did not find it.
Any idea really apreciated!