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:
parent
202c9d2dd5
commit
37cdce1111
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user