给定以下 JSON blob:
[
{
type: "audio",
title: "Audio example title",
},
{
type: "video",
title: "Video example title",
},
{
type: "audio",
title: "Another audio example title",
},
]
和两个 JSONModel 模型类(AudioModel、VideoModel)。是否可以让 JSONModel 在type
将 JSON 映射到模型时根据属性自动创建其中一个模型类?