News for hackers. Stuff that matters.
Re:Page Weight Matters (2012) by kuschku on Thursday October 15, 2015 @04:37PM (#10395828)
Well, you could process the JSON on client side.

    response.comments.forEach(comment =>  comment.author = response.user[comment.author]);
Preferably, even, you could do it during rendering so it can be garbage collected afterwards.
Re:Page Weight Matters (2012) by spion on Thursday October 15, 2015 @04:59PM (#10395950)
Well, that counts as further deserialisation in my book. At least if you set up a convention to automate it for all kinds of objects. Otherwise you'd have to do it manually for every type of request