-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Proposal] Add functions remove_empty_fields
remove_null_fields
#106
Comments
Hi, any update on this? |
Discarding That said, we are considering adding this to JMESPath Community. Given: { "a": 1, "b": "", "c": null } The following expressions can be useful:
See this Wiki page for more details. |
@deenie1 i think you inadvertently uploaded exported files. |
Apologies I don't have any clue what I'm doing? I did not evens no I did what u said I did, sorry. Sent from my Huawei Mobile-------- Original Message --------Subject: Re: [jmespath/jmespath.site] [Proposal] Add functions `remove_empty_fields` `remove_null_fields` (Issue #106)From: Daniel Gutson To: "jmespath/jmespath.site" CC: Nixx ,Mention
@deenie1 i think you inadvertently uploaded exported files.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Proposal for adding built-in functions
remove_empty_fields
andremove_null_fields
which would be useful to remove fields of an object that are empty or have null value.e.g. if we have a json like this
we call
Result
if we call
Result
The text was updated successfully, but these errors were encountered: