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

I know, Halloween is over, but currently I'm working with an API where the returned JSON is created by manual string concatinations. Sometimes commas and quotation marks go missing.


Does the API specify under which conditions you can expect missing characters? There should be an undefined behaviour angle here somewhere


I wish.

The dev simply writes new string concatination code every time a new endpoint is needed, so I can't even hope for some bugs being gone for good after he tested his implementation with a few endpoints.




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

Search: