漂亮的打印嵌套字段

时间:2020-11-09 17:12:33

标签: python nested

我有一个像这样的字符串列表:

element2List = element1List.stream().map(element -> new Element2(element.getId(), element.getUid())).collect(Collectors.toList());

我想得到以下结果:

['array<struct<creationdate:bigint,enddate:bigint,error:string,executionuuid:string,requestcontext:string,responsecontext:string,ruleclass:string,startdate:bigint,state:string>>']

有人知道如何将其制作成python吗?

0 个答案:

没有答案
相关问题