src/main/java/org/firepick/JSONResult.java
public Double getDouble(Double defaultValue) {
    if (value instanceof Number) {
      return ((Number) value).doubleValue();
    }
    if (value instanceof String) {
      String s = (String) value;
      return Double.parseDouble(s);
    }
    if (value == null) {
      return defaultValue;
    }
    throw createException("Expected number:");
  }
public Double getDouble(Double defaultValue) {
    if (value instanceof Number) {
      return ((Number) value).doubleValue();
    }
    if (value instanceof String) {
      String s = (String) value;
      return Double.parseDouble(s);
    }
    if (value == null) {
      return defaultValue;
    }
    throw createException("Expected number:");
  }
Return a double number for current JSON value, parsing string values as required.