Breaking changes:
- Feat: changes the table syntax from
---...---to(...). The change is implemented in a backward compatible way. You can parse tables in both the old and new format, but stringifying data will now output tables with the new syntax. - Feat: the current
pathis now passed too via theoutput_as_tablecallback of functionstringify. The callback function now requires two arguments:output_as_table(tabular_data, path)(#17).
- Fix: improve parsing of tables inside tables.
- Fix: correctly identify table start and end in nested tables.
- Fix: improve field alignment of nested tables inside a table.
- Feat: function
stringifyhas a new optionoutput_as_tableand helper functionsno_nested_arrays,no_nested_tables,is_homogeneous,no_long_strings, andalways. - Fix: improved formatting of tables inside tables.
- Fix: renamed
stringifyoptiontrailingCommastotrailing_commas.
- Fix: refine empty input error message.
- Fix: added more unit tests to the test suite.
- Fix: added more unit tests to the test suite.
- First version published.