mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-01 02:38:21 +08:00
JSON deserialization of collections fixed
This commit is contained in:
parent
db0a8479c1
commit
4e391584c0
@ -107,7 +107,7 @@ public class EntitySerialization implements EntitySerializationAPI {
|
||||
@Nullable MetaClass metaClass,
|
||||
EntitySerializationOption... options) {
|
||||
context.remove();
|
||||
Type collectionType = new TypeToken<Collection<T>>(){}.getType();
|
||||
Type collectionType = new TypeToken<Collection<Entity>>(){}.getType();
|
||||
return createGsonForDeserialization(metaClass, options).fromJson(json, collectionType);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user