Closed panchaBhuta closed 2 years ago
In method public static void writeJSONString(Collection collection, Writer out)
printing the first element before the while loop , will remove the "if" first flag check inside the while for writing comma. This will have some improvement on speed.
not needed
In method public static void writeJSONString(Collection collection, Writer out)
printing the first element before the while loop , will remove the "if" first flag check inside the while for writing comma. This will have some improvement on speed.