When trying to get a value from restapi in for loop to display it takes hyphen(-) as minus(-). And there is no way to change the api structure because it is fixed.
Im struck in this anyone help me..
The exact error and the expected json is given below is down below
when i try to print {{key}} the whole for loop data it displays like this
{'_id': ObjectId('xxxxxxxxxxx'), 'date': 'jun/20/2022', 'dst-active': 'false', 'gmt-offset': '+05:30', 'time': '20:19:04', 'time-zone-autodetect': 'true', 'time-zone-name': 'Asia/Kolkata'}
when i specify {{key.dst-active}} it throws this error
TemplateSyntaxError at /store/Could not parse the remainder: '-active' from 'key.dst-active'