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

That doesn't protect against a file already being generated in a broken fashion. Or that it's content is not compatible to the newest schema you are using for deserialization.

For serialization in a distributed system you always want to have a parser which can detect invalid data and has means to support forward and backward compatibility.



> forward and backward compatibility

Also for HTTP requests I suppose




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

Search: