Skip to content

Instantly share code, notes, and snippets.

@linkerzx
Last active February 24, 2020 20:40
Show Gist options
  • Save linkerzx/765bd61b18ce3e459219a05ea1baaf15 to your computer and use it in GitHub Desktop.
Save linkerzx/765bd61b18ce3e459219a05ea1baaf15 to your computer and use it in GitHub Desktop.
{
"Type": "CaseStatement",
"WhenConditions": [
{
"Type": "WhenCondition",
"Operand": {
"Type": "SimpleOperand",
"Operand": "eq",
"Field": "gender",
"Value": "M"
},
"Value": "Male"
},
{
"Type": "WhenCondition",
"Operand": {
"Type": "SimpleOperand",
"Operand": "eq",
"Field": "gender",
"Value": "F"
},
"Value": "Female"
}
],
"Else": "Other"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment