type = type.substring(0, type.length() - 2); // remove the []
write(out, type);
- write(out, "\r");
try {
for (int i = 0; true; i++) {
Object item = Array.get(value, i);
+
// encode it normally if direct value
+ write(out, "\r");
if (!SerialUtils.encode(out, item)) {
try {
// TODO: bad escaping?
.getMessage());
}
}
- write(out, "\r");
}
} catch (ArrayIndexOutOfBoundsException e) {
// Done.
// setAccessible)
}
}
- write(out, "\n}");
}
/**