I am trying to understand about JSON.stringify() and often times I hear people saying that its very slow for large objects. So I would like to understand what makes JSON.stringify so slow.
After researching on the Internet, I found that the alternative to JSON.stringify() is a module called fast-json-stringify which uses a schema based technique to stringify objects.
Could you please explain how a schema based technique outperforms JSON.stringify().
Any help would be greatly appreciated.
Thanks,