FracturedJson is utility that formats JSON data producing highly readable but fairly compact output.
Replaced setting DontJustifyNumbers
with a new enum, NumberListAlignment
, to control how arrays or table columns of numbers are handled.
Normalize
is the default and it behaves like previous versions when DontJustifyNumbers==false
. With it, number lists or columns are rewritten with the same number of digits after the decimal place.Decimal
lines the numbers up according to their decimal points, preserving the number exactly as it appeared in the input document. For regular numbers this usually looks like Normalize
, except with spaces padding out the extra decimal places instead of zeros.Left
lines up the values on the left, preserving the exactly values from the input document.Right
lines up the values on the right, preserving the exactly values from the input document.New setting, NumberListAlignment
.
Removed setting DontJustifyNumbers
.
MaxTotalLineLength
.MaxTotalLineLength
, MaxTableRowComplexity
, MinCompactArrayRowItems
, CommentPolicy
, PreserveBlankLines
, AllowTrailingCommas
.TableObjectMinimumSimilarity
, TableArrayMinimumSimilarity
, AlignExpandedPropertyNames
, JsonSerializerOptions
.StringLengthFunc
. (See the EastAsianWideCharactersTests
test class for an example.)New features including tabular formatting. See CHANGELOG.md
for details.
AlwaysExpandDepth
option (-e or --expand=VALUE)JustifyNumberLists
option (-j or --justify)Initial Release
Initial release