-
Added argument to opt compression/-c (0.9.0) · d11cc8bfSerbaf authored
Now the user cannot only specify if he wants to represent the arrays flattened or compressed in the CSV file, but also which depth of compression wih an integer. A level of 0 would equal no compression, a level 1 equals the old compression mode (and the current UPV-compatible mode too), that is, to just unnest 1 level of arrays, for example: house[0].dweller[0]: "Ana" house[0].dweller[1]: "Roberto" house[1].dweller[0]: "Marina" Would become: house[0].dweller: "[Ana, Roberto]" house[1].dweller: "[Marina]" Now, it is also possible to select a compression of depth 2 or more, which would provide the followint output: house.dweller: "[[Ana, Roberto], [Marina]]" Some minor bugs fixed and tests adapted to the new feature. This is the state of the program desired in the beginning of the development, and this version (with possible minor fixes) is the one expected for the 1.0.0 release.
d11cc8bf
×