1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

JSON_TYPE_MAP

This commit is contained in:
Reinhard Pointner 2016-10-09 04:02:54 +08:00
parent 202c9d2dd5
commit 37cdce1111

View File

@ -85,7 +85,7 @@ public class MetaAttributes {
public static String toJson(Object object) {
Map<String, Object> options = new HashMap<String, Object>();
options.put(JsonWriter.TYPE_NAME_MAP, MetaAttributes.JSON_TYPE_MAP);
options.put(JsonWriter.TYPE_NAME_MAP, JSON_TYPE_MAP);
options.put(JsonWriter.SKIP_NULL_FIELDS, true);
return JsonWriter.objectToJson(object, options);