Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Boot #31

Open
DraperHXY opened this issue Feb 4, 2019 · 0 comments
Open

Spring Boot #31

DraperHXY opened this issue Feb 4, 2019 · 0 comments

Comments

@DraperHXY
Copy link
Owner

配置文件中的单引号和双引号

  • 单引号对于特殊字符不进行转义例如 'draper\n'
  • 双引号对于特殊字符进行转义 "draper\n" 则会换行
\ @ConfigurationProperties @value
功能 批量注入配置文件中的属性 单独指定
松散绑定(松散语法) 支持 不支持
SpEL 不支持 支持
JSR303 数据校验 支持 不支持

Spring Boot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant