Please change RuntimeException to IOException at most. Also consider improving exception message:

```
throw new IOException(String.format("Failed to parse json '%s'", json), e);
```