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

Adding options to parse() #258

Open
NightOwlPrgmr opened this issue May 6, 2020 · 1 comment
Open

Adding options to parse() #258

NightOwlPrgmr opened this issue May 6, 2020 · 1 comment

Comments

@NightOwlPrgmr
Copy link

It would be very useful to have the following options added to the parse() function:

  • skipEmptyString
  • skipNull

Currently, I'm having to parse() to maintain the original array structure, then stringify() to skip the empty/null values, and then parse() once more to return it to the array structure.

I think having those options available to parse() would be a great addition and allow for a more simplified approach to what I'm trying to achieve.

@bombillazo
Copy link

This would be a great addition indeed.

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

2 participants