I'm fairly new to Typescript and I'm attempting to parse a simple JSON file using Typescript. After searching online and testing different solutions, I still haven't been able to find a straightforward code snippet that reads a local JSON file into a numeric array variable. The content of the JSON file is as follows: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 16.4, 194.1, 95.6, 54.4].
If anyone could provide me with some guidance on this issue, I would greatly appreciate it.
Best regards, GF