JSON_TYPE_MAP

This commit is contained in:
Reinhard Pointner 2016-10-09 04:02:54 +08:00
parent 202c9d2dd5
commit 37cdce1111
1 changed files with 1 additions and 1 deletions

View File

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