Why not instead of getting a `String` and then use `Boolean.parseBoolean` we just simply do: `json.getBoolean` ? NOTE: this will throw an Exception if is `null`

So we can do something like:
````java
if (json.has("collapseable") && !JSONObject.NULL.equals(json.get("collapseable")) {
  dto.setCollapseable(json.getBoolean("collapseable");
}
````
Just an idea :wink: