I have this TXT file:
{ input: [0,0], output: [0], id: 232362 }
{ input:[0,1], output: [1], id: 232363 }
I would like to convert it into array of objects in Typescript this way:
[
{ input: [0, 0], output: [0] },
{ input: [0, 1], output: [1] }
];
Could you help me, please?
I am a beginner, sorry.