npe fix for value conversion

This commit is contained in:
Jonathan Shook
2022-09-09 10:59:12 -05:00
parent 60b8ccc200
commit bb27e5036a

View File

@@ -208,7 +208,7 @@ public class ParameterMap extends ConcurrentHashMap<String,Object> implements Bi
if (raw instanceof Map || raw instanceof Set || raw instanceof List) {
value = gson.toJson(raw);
} else {
value = raw.toString();
value = String.valueOf(raw);
}
super.put(entry.getKey(), value);
}