Exposed initial capacity of StringBuilder through the JsonStringFormatter constructor to be able to avoid allocating a lot of new internal buffers in StringBuilder for large Json values. Also removed unnecessary calls to Integer.toString and Long.toString.
Exposed initial capacity of StringBuilder through the JsonStringFormatter constructor to be able to avoid allocating a lot of new internal buffers in StringBuilder for large Json values. Also removed unnecessary calls to Integer.toString and Long.toString.