javascript - Is there a better way to accept JSON data than appending chunked input to a s

preview_player
Показать описание
What you're doing is fine really. However, a performance tweak might be to just add each chunk to an array and then join the array instead of creating a new string each time.

e.g.

var inputData = [];
var parsedD

#handles #what #catch #well #this

Рекомендации по теме
visit shbcf.ru