Skip key when value is zero/empty #1008
Unanswered
dwaydwaydway
asked this question in
Q&A
Replies: 1 comment
-
Currently the solution is to wrap these types in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to skip key/value which is empty when writing json?
For example,
I'm getting
{"d":0.00000005046102E-309, "s": "", "a": "something" }
when what I wanted is{"a": "something" }
I tried to play with the lambda function when doing value mapping but it didn't really work.
Beta Was this translation helpful? Give feedback.
All reactions