Deserializing with GSON

For a project I’ve been working on I needed to deserialize a number of objects from JSON and because I’m lazy I wanted something that would let me do that easily. I came across GSON, and was very impressed with how easy it was to use. Here’s some of my JSON; { “intro”: “An introduction”, […]

How should I unit test?

Ideally, you should be following TDD principles, if you’re not familar with them then I recommend watching the following video from Uncle Bob. TDD can provide instant feedback on whether or not the code you’re writing is doing the correct thing, which can be very useful particularly in complex applications that are hard to test […]