MCPcopy Index your code
hub / github.com/Tencent/APIJSON / getJSONArray

Method getJSONArray

APIJSONORM/src/main/java/apijson/JSON.java:280–284  ·  view source on GitHub ↗

Get a value from a Map and convert to the specified type @param map Source map @param key The key @param Target type @return The converted value

(Map<String, Object> map, String key)

Source from the content-addressed store, hash-verified

278 * @return The converted value
279 */
280 @SuppressWarnings("unchecked")
281 public static <L extends List<Object>> L getJSONArray(Map<String, Object> map, String key) {
282 Object obj = get(map, key);
283 return (L) obj;
284 }
285
286 /**
287 * Get a value from a Map and convert to the specified type

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected