Below is a extract of a dict going through JSON.
["1", "ABC", "new Date(2015/01/01)", "new Date(2015/08/07)"], etc
Is there any way to remove the double quotes on only the dates like below:
["1", "ABC", new Date(2015/01/01), new Date(2015/08/07)], etc
Edit
dataset = []
for service in ServiceData:
datestart = 'new Date('+service.DateCommence+')'
dateend = 'new Date('+service.DateDiscontinued+')'
dataset.append([
"{}".format(i),
service.Title,
datestart,
dateend,
])
i = i + 1
return json.dumps(dataset)