List<Map<String,Object>中不同的值合并后转化为List<Map<String,Object>> 10
我想把[{appNo:'123',appName:'test1',appId:'abcde',platformName:'iOS'},{appNo:'123',appNa...
我想把[{appNo:'123',appName:'test1',appId:'abcde',platformName:'iOS'},
{appNo:'123',appName:'test1',appId:'12345',platformName:'android'},
{appNo:'456',appName:'test2',appId:'fghjk',platformName:'iOS'},
{appNo:'456',appName:'test2',appId:'67890',platformName:'android'}]这种结构转化为[{appNo:'123',appName:'test1',platform:[{appId:'abcde',platformName:'iOS'},{appId:'12345',platform:'android'}]},{appNo:'456',appName:'test2',platform:[{appId:'fghjk',platformName:'iOS'},{appId:'67890',platform:'android'}]}]这中结构java代码如何实现,谢谢! 展开
{appNo:'123',appName:'test1',appId:'12345',platformName:'android'},
{appNo:'456',appName:'test2',appId:'fghjk',platformName:'iOS'},
{appNo:'456',appName:'test2',appId:'67890',platformName:'android'}]这种结构转化为[{appNo:'123',appName:'test1',platform:[{appId:'abcde',platformName:'iOS'},{appId:'12345',platform:'android'}]},{appNo:'456',appName:'test2',platform:[{appId:'fghjk',platformName:'iOS'},{appId:'67890',platform:'android'}]}]这中结构java代码如何实现,谢谢! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询