How do I remove null if the "If" condition is false #303
-
I was working on one payload where the template is
And the response I'm getting if the $p is not null is:
and if the $p is null:
But I don't want null there it should only return this
How do I achieve that? |
Beta Was this translation helpful? Give feedback.
Answered by
FoolMuun
Jul 20, 2023
Replies: 2 comments 2 replies
-
Try this... JSLT
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
akashvekariya
-
@akashvekariya Did the suggestion solve your problem? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this...
JSLT