waveform80 / structa

A small utility for analyzing data structures (e.g. JSON files)
https://structa.readthedocs.io/
Other
4 stars 1 forks source link

Tuple analysis #4

Closed waveform80 closed 4 years ago

waveform80 commented 4 years ago

Handle tuples separately from lists. Lists are expected to be homogeneous structures, whereas tuples should be treated as heterogeneous, almost like an integer keyed dict (or str for namedtuples?). Open questions surrounding a heterogeneous list of differently structured tuples (reject? simplify?)