final Object value = field.get(null);
if (value != null) {
if (field.getType().isArray()) {
container.put(field.getName(), new JSONArray(Arrays.asList((Object[]) value)));
} else {
<BUG>container.put(field.getName(), value.toString());
}</BUG>
}
} catch (IllegalArgumentException ignored) {
} catch (IllegalAccessException ignored) {

final Object value = field.get(null);
if (value != null) {
if (field.getType().isArray()) {
container.put(field.getName(), new JSONArray(Arrays.asList((Object[]) value)));
} else {
container.put(field.getName(), value);
}
}
} catch (IllegalArgumentException ignored) {
} catch (IllegalAccessException ignored) {
