Here is the json data:
{ "question_1":
{ "type" : "string"
, "title" : "What did he want to make for dinner?"
, "enum":
[ " a.) He wanted to make some salad and spaghetti"
, " b.) He wanted to make some pasta salad"
]
, "required": false
}
, "question_2":
{ "type": "string"
, "title": "Did he have the ingredients to make dinner?"
, "enum":
[ " a.) Yes, he had the ingredients"
, " b.) No, he didn't have the ingredients"
]
, "required": false
}
, "question_3":
{ "type" : "string"
, "title" : "Where did he go shopping?"
, "enum":
[ " a.) He went to Albertsons"
, " b.) He went to Albertos"
]
, "required": false
}
}
Looking at my json, I noticed that there are repeated numbers next to each other in the question titles.
For example:
1. 1. => 1.
2. 2. => 2.
3. 3. => 3.
I am seeking a solution to eliminate this repetition.
Is there a way to remove duplicate numbers next to each other within the json?