I have a long JSON string that I need to decode. The script timeouts when I try to use Roblox’s JSONDecode function from HTTPService.
The string is around 100 million characters.
Splitting the string wouldn’t work, to my knowledge, as the closing brackets of the table might not be included in each split, resulting in an error.
I’ve tried importing third-party JSON decoders and manually adding a wait, to prevent timeouts. However, this process takes forever to decode. Around 3 times longer than Roblox’s JSON Decoder.
Any suggestions or solutions or changes to my approach would be appreciated. Thank you!
This could work, but I’m worried that I might go over Roblox’s 500 HTTP requests per minute. I am able to get the whole JSON data into a Roblox server without much trouble, so it’s most convenient if I solve this issue in Roblox itself, without external servers.