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

I can see the use case for json, but hardly for anything else. What's wrong with just using a class here? Seems very similar to how it would work in java script.


Any time you have a dict with stringy keys that you know when writing the program. HTML attribute lists, database records, http request parameters, config files.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: