Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement modifiers "flatten" and "ignore-case" #4

Open
marc-portier opened this issue Sep 23, 2021 · 1 comment
Open

implement modifiers "flatten" and "ignore-case" #4

marc-portier opened this issue Sep 23, 2021 · 1 comment
Assignees
Milestone

Comments

@marc-portier
Copy link
Member

  • flatten should smash down nested structures into keys --> thus accessing _.x.y.z via _["x.y.z"]
  • ignore-case should make all access-keys lowercase or at least make accessing them case-insensitive ?

can we find a way to have that across all sets?
in fact does such beasts exist in py world already? (pandas?)

This was referenced Sep 23, 2021
@cedricdcc cedricdcc self-assigned this Sep 27, 2021
marc-portier added a commit that referenced this issue Sep 27, 2021
+ the test
in preparation of actual modifier implementations requested in #3 and #4
@laurianvm laurianvm added this to the 0.2. milestone Feb 17, 2022
@marc-portier
Copy link
Member Author

But starting to doubt if ignore_case support is really such a good idea --> both json and xml input (and py dicts themselves) make a clear distinction -- it starts to feel wrong to smash those together at this level? Specially considering possible lists being mixed.... but then again adding this convenience inside pysubyt might be helpful in freeing users of the burden to do the cleaning themselves in pre-processing... hm need to think some more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants