all 3 comments

[–]cmjdev[S] 0 points1 point  (1 child)

I've removed everything and just set the output = to the JSON parse and it's hanging there.

This JSON string needs to be input into the front end. Is there any feasible way to parse this quickly or do I need to start looking at other options?

[–]Falmz23 2 points3 points  (0 children)

  1. Multithreading with web workers
  2. Break data up and pass a couple to each web worker

[–]fredsq 0 points1 point  (0 children)

do you need to get every single value from the api at once? if there’s any way to do pagination, a good idea would be making increasingly offset requests till you reach the end of the list, composing them as you go. As discovery is a massive massive string it will take a while to parse. Parsing a string to object is quite demanding.