You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have input json like
Array{[
….
….
“Code”:”CA”],
[
….
….
“Code”:”TX”
]
}
While transforming how to have a switch case kind that converts these code CA to California and TX to Texas. Lets say we have these names fixed how to achieve this using JUST
The text was updated successfully, but these errors were encountered:
There's no such thing as a switch/case method. You can achieve this with multiple 'ifcondition's, but that can become cumbersome with only a few options.
Probably the best option is to create a custom function that does what is intended.
I have input json like
Array{[
….
….
“Code”:”CA”],
[
….
….
“Code”:”TX”
]
}
While transforming how to have a switch case kind that converts these code CA to California and TX to Texas. Lets say we have these names fixed how to achieve this using JUST
The text was updated successfully, but these errors were encountered: