开发者社区 问答 正文

请问这段代码是json代码吗? 什么意思

String build() {
    def sections = new ArrayList<String>()
    sections << "$file $Drops $lid $guys $amountWasted $lotNumber $timeout"
    sections << "$anes $Injected $Drops"

    return sections*.trim().findAll { !it.empty }.join("\n\n")
}

展开
收起
杨冬芳 2016-07-04 15:52:33 1759 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    这个结构 不像是的吧

    2019-07-17 19:50:46
    赞同 展开评论
问答分类:
问答标签:
问答地址: