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”, […]

Lambda Expressions in Java 1.8

Java 1.8 brings many new features, among them is the ability to use Lambda Expressions or just lambdas but unless you’ve used them beforeĀ  it’s not clear what benefit they may offer. This post goes through a simple use case to highlight when a lambda bit be useful. Let’s start with a simple user object, […]

Remote Debugging with IntelliJ

Sometimes it’s not possible to debug your code locally in your IDE of choice, sometimes you will need to debug remotely but how do you go about it? Assuming that you’re using IntelliJ (Eclipse is not that different incidentally) then here’s how; Go to Run > Edit Configurations. From the menu click + for a […]