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
Thanks for the great library. This fits our use-case quite neatly and has a great IO performance. 👍
As food-for-thought and/or possible feature request linked to the JsonStream.setIndentionStep(DEFAULT_INDENTATION) config.
Would it be possible to suppress line feeds (return) between individual array elements and add the line-feed only once the array is complete? Presently (e.g. JsonStream.setIndentionStep(DEFAULT_INDENTATION)) e.g.:
This has no impact on the validity or numeric parsing of the JSON output but (similarly to the indentation) would make it more human-readable, especially for large arrays, large maps, and if there are many fields.
N.B. as a minor side note/question: isn't the double format more precise/faster if expressed in an exponential form (am thinking since IEEE floating points are stored w.r.t. exponent and mantissa)
I see the place in the code where the line feed is issued to the stream but the corresponding function/array reflection handlers cannot be overwritten. Thanks in advance and keep up the good work!
The text was updated successfully, but these errors were encountered:
Thanks for the great library. This fits our use-case quite neatly and has a great IO performance. 👍
As food-for-thought and/or possible feature request linked to the
JsonStream.setIndentionStep(DEFAULT_INDENTATION)
config.Would it be possible to suppress line feeds (return) between individual array elements and add the line-feed only once the array is complete? Presently (e.g.
JsonStream.setIndentionStep(DEFAULT_INDENTATION)
) e.g.:to something like:
This has no impact on the validity or numeric parsing of the JSON output but (similarly to the indentation) would make it more human-readable, especially for large arrays, large maps, and if there are many fields.
N.B. as a minor side note/question: isn't the double format more precise/faster if expressed in an exponential form (am thinking since IEEE floating points are stored w.r.t. exponent and mantissa)
I see the place in the code where the line feed is issued to the stream but the corresponding function/array reflection handlers cannot be overwritten. Thanks in advance and keep up the good work!
The text was updated successfully, but these errors were encountered: