val skuPropsJson = JSON.parseObject(skuProps)
val specDatas = arrayListOf<SpecBean>()
val iter = skuPropsJson.entries.iterator()
while (iter.hasNext()){
val entry = iter.next() as Map.Entry<String,String>
specDatas.add(SpecBean().apply {
specKey = entry.key
specValue = entry.value
})
}
网友评论