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

You can use GSON and just parse your objects into POJOs and access them with dot notation.

In fact, now that I think about it, I wonder if you can rig up your POJOs as Java 8 Option<> and remove some of the null checking. I'll have to look into that.



That's a good place to start. Basing it on the list monad instead of the option monad gives you traversals with monoidal summaries.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: