I am looking to convert a list of objects with the following structure:
{
"idActivite": 1,
"nomActivite": "Accueil des participants autour d’un café viennoiseries",
"descriptionActivite": "",
"lieuActivite": "",
"typeActivite": "",
"horaireDebActivite": 1512028800,
"horaireFinActivite": 1512059388,
"horaireDebSession": 1512030600,
"horaireFinSession": 1512318588,
"nomSession": "",
"isInSession": false
}
to another format like this:
[
"idActivite": 1,
"nomActivite": "Accueil des participants autour d’un café viennoiseries",
"descriptionActivite": "",
"lieuActivite": "",
"typeActivite": "",
"horaireDebActivite": 1512028800,
"horaireFinActivite": 1512059388,
"horaireDebSession": 1512030600,
"horaireFinSession": 1512318588,
"nomSession": "",
"isInSession": false
]
using TypeScript 2.5.