Hacker News new | past | comments | ask | show | jobs | submit login

It's pretty obvious what you do if a field in a JSON object is optional, you use an optional type. Any good statically typed language has that.



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

Search: