文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
FAQ
Add in the project’s pom.xml
file
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
Then use the corresponding snapshot version, such as 2.0.9-SNAPSHOT
.
The snapshot version is generally used to fix an emergency bug or to prioritize new features. Overwrite each time it is published.
How to modify the built-in JSON library?
By default, Blade has a simple json library built in to handle most situations. If you want to customize or you are used to a json library, Blade supports replacement, and currently supports the following json libraries.
If you want to support other libraries, please follow the source extensions yourself.
Add dependencies like jackson
<dependency>
<groupId>com.bladejava</groupId>
<artifactId>blade-jackson-support</artifactId>
<version> latest version</version>
<dependency>
Then add a line before the Blade starts:
JsonKit.jsonSupprt(new FastJsonSupport());
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论