(boolean def, @Nullable JSONObject obj, @Nullable String key)
| 9 | private static final Logger LOGGER = LoggerFactory.getLogger(BooleanParser.class); |
| 10 | |
| 11 | public static boolean get(boolean def, @Nullable JSONObject obj, @Nullable String key) { |
| 12 | return get(def, obj, key, false); |
| 13 | } |
| 14 | |
| 15 | public static boolean get(boolean def, @Nullable JSONObject obj, @Nullable String key, boolean silent) { |
| 16 | if (obj == null || key == null || key.isEmpty()) { |
no test coverage detected