Cleaned up configuration handling and added new logging class.
This commit is contained in:
parent
e5556d9138
commit
e28ee185b6
15 changed files with 354 additions and 120 deletions
|
|
@ -23,8 +23,8 @@ public class Json {
|
|||
s.append("\"" + ((String)o).replace("\"", "\\\"") + "\"");
|
||||
} else if (o instanceof Integer || o instanceof Long || o instanceof Float || o instanceof Double) {
|
||||
s.append(o.toString());
|
||||
} else if (o instanceof LinkedHashMap<?, ?>) {
|
||||
LinkedHashMap<?, ?> m = (LinkedHashMap<?, ?>) o;
|
||||
} else if (o instanceof Map<?, ?>) {
|
||||
Map<?, ?> m = (Map<?, ?>) o;
|
||||
s.append("{");
|
||||
boolean first = true;
|
||||
for (Map.Entry<?, ?> entry : m.entrySet()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue