This commit is contained in:
Reinhard Pointner 2017-05-25 11:08:40 +08:00
parent 04f5a62749
commit d36c033d92
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@ public class MetaAttributes {
}
public static Object toObject(String json) {
if (json == null || json.isEmpty()) {
return null;
}
Map<String, Object> options = new HashMap<String, Object>();
options.put(JsonReader.TYPE_NAME_MAP, JSON_TYPE_MAP);