Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoder: Dump nested tables with their parent
Currently, we first print all tables at the top level, then all nested tables at the second level, etc… As a result, this: { 'table1': { 'foo': 1, 'nested': { 'bar': 2, }, }, 'table2': { 'baz': 3, }, } … gets printed as: [table1] foo = 1 [table2] baz = 3 [table1.nested] bar = 2 With this commit, we print the nested tables with their parent, so the same example from above will instead become: [table1] foo = 1 [table1.nested] bar = 2 [table2] baz = 3 Fixes uiri#88
- Loading branch information