📅  最后修改于: 2022-03-11 15:01:05.145000             🧑  作者: Mango
static {
JSON.registerObjectMarshaller(this){
Map objDomain = new LinkedHashMap<>(it.properties)
objDomain.id = it.id
objDomain.objectOtherDomain = OtherDomainName.get(it.otherDomainId)
return objDomain
}
}