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
Desired output;
If "singleton" Value starts with "ST" output should have "single".
If "singleton" Value starts with "HV" output should have "double".
If "singleton" Value starts with other letters, output should have same words as in input.
This is the input i have:
{
[
{
"operation": "shift",
"spec": {
"Consumer": {
"": {
"id": "ConsumerGroup[&1].id",
"singleton": {
"ST": {
"#Stater": "Consumer.[&3].singleton"
},
"HV*": {
"#future": "Consumer.[&3].singleton"
},
"*": {
"singleton": "Consumer.[&3].singleton"
}
}
]
Desired output;
If "singleton" Value starts with "ST" output should have "single".
If "singleton" Value starts with "HV" output should have "double".
If "singleton" Value starts with other letters, output should have same words as in input.