且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 grails 中漂亮地打印 XML 响应的***方式

更新时间:2023-01-16 15:38:21

根据 参考文档,您可以使用以下配置选项启用漂亮打印:

According to the reference docs, you can use the following configuration option to enable pretty printing:

 grails.converters.default.pretty.print (Boolean)
 //Whether the default output of the Converters is pretty-printed ( default: false )