Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yep, I build response objects ( my own term, not great but it describes what they are ) that are basic subsets of the object that I want to serialize to json. That way I'm sure only the fields that I really want to send are making it out.


Cool, I think a good JSONResponse implementation would bake that into the framework such that it's difficult to make the mistake you didn't make :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: