We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Might be neat to have something like
$ echo '{"valuable":"keep me!", "garbage":"drop me!", "trash":"me too!"}' | jsonfilter --drop garbage,trash {"valuable":"keep me!"}
Not sure on exact syntax, or if this should actually be a different module (or if that different module already exists!)
The text was updated successfully, but these errors were encountered:
ended up writing https://www.npmjs.org/package/jsonmap, though it's a whitelist instead of a droplist... i'll keep this open for future consideration
Sorry, something went wrong.
@maxogden @brianloveswords I think jsonmap solves it pretty well, although I guess not quite as concisely as the original proposal.
jsonmap
$ echo '{"valuable":"keep me!", "garbage":"drop me!", "trash":"me too!"}' | jsonmap "delete this.garbage; delete this.trash;"
No branches or pull requests
Might be neat to have something like
Not sure on exact syntax, or if this should actually be a different module (or if that different module already exists!)
The text was updated successfully, but these errors were encountered: