MCPcopy Create free account
hub / github.com/egg82/fetcharr / get

Method get

Lib/src/main/java/me/egg82/arr/parse/BooleanParser.java:11–13  ·  view source on GitHub ↗
(boolean def, @Nullable JSONObject obj, @Nullable String key)

Source from the content-addressed store, hash-verified

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()) {

Callers 15

isCacheWritableMethod · 0.95
isCacheWritableMethod · 0.95
CustomFormatResourceMethod · 0.95
RevisionMethod · 0.95
AddMovieOptionsMethod · 0.95
CommandMethod · 0.95
SelectOptionMethod · 0.95
CommandResourceMethod · 0.95
FieldMethod · 0.95
MovieFileResourceMethod · 0.95

Calls 2

parseMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected