{"id":20171573,"url":"https://github.com/joeybling/fastjson-spring-boot-starter","last_synced_at":"2025-04-10T02:42:52.648Z","repository":{"id":37177073,"uuid":"141405799","full_name":"JoeyBling/fastjson-spring-boot-starter","owner":"JoeyBling","description":"自制spring boot starter for fastjson","archived":false,"fork":false,"pushed_at":"2022-06-17T01:46:32.000Z","size":34,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T16:02:59.601Z","etag":null,"topics":["fastjson","spring-boot","springboot-starter"],"latest_commit_sha":null,"homepage":"https://mvnrepository.com/artifact/io.gitee.zhousiwei/fastjson-spring-boot-starter","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoeyBling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://zhousiwei.gitee.io/ibooks/about/#%E6%89%93%E8%B5%8F"}},"created_at":"2018-07-18T08:35:28.000Z","updated_at":"2021-12-28T09:39:29.000Z","dependencies_parsed_at":"2022-08-17T23:45:33.708Z","dependency_job_id":null,"html_url":"https://github.com/JoeyBling/fastjson-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoeyBling%2Ffastjson-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoeyBling%2Ffastjson-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoeyBling%2Ffastjson-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoeyBling%2Ffastjson-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoeyBling","download_url":"https://codeload.github.com/JoeyBling/fastjson-spring-boot-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248145100,"owners_count":21055053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastjson","spring-boot","springboot-starter"],"created_at":"2024-11-14T01:25:28.279Z","updated_at":"2025-04-10T02:42:52.630Z","avatar_url":"https://github.com/JoeyBling.png","language":"Java","funding_links":["https://zhousiwei.gitee.io/ibooks/about/#%E6%89%93%E8%B5%8F"],"categories":[],"sub_categories":[],"readme":"# 自制spring boot starter for fastjson\n\n\u003e **GitHub：[https://github.com/JoeyBling/fastjson-spring-boot-starter](https://github.com/JoeyBling/fastjson-spring-boot-starter)**\n\n\u003e **码云：[https://gitee.com/zhousiwei/fastjson-spring-boot-starter](https://gitee.com/zhousiwei/fastjson-spring-boot-starter)**\n\n\u003e **欢迎使用和Star支持，如使用过程中碰到问题，可以提出Issue，我会尽力完善**\n\n# 简介\n\n该项目主要利用Spring Boot的自动化配置特性来实现快速的将fastjson引入spring boot使用fastjson解析框架。\n\n**小工具一枚，欢迎使用和Star支持，如使用过程中碰到问题，可以提出Issue，我会尽力完善该Starter**\n\n# 版本基础\n\n- Spring Boot：`1.5.x`\n- FastJson：`1.2.60`\n\n# 如何使用\n\n在该项目的帮助下，我们的Spring Boot可以轻松的引入`fastjson`，主需要做下面两个步骤：\n\n- 在`pom.xml`中引入依赖：\n\n\u003e 当前最新版本 [![](https://img.shields.io/maven-central/v/io.gitee.zhousiwei/fastjson-spring-boot-starter?label=maven)](https://github.com/JoeyBling/fastjson-spring-boot-starter)\n\n- 由于spring-boot-starter-parent版本更新问题\n`spring-boot-starter-parent 2.0.0.RELEASE`之前使用\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003eio.gitee.zhousiwei\u003c/groupId\u003e\n\t\u003cartifactId\u003efastjson-spring-boot-starter\u003c/artifactId\u003e\n\t\u003cversion\u003e8.8.8.RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n- `spring-boot-starter-parent 2.0.0.RELEASE`之后使用\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003eio.gitee.zhousiwei\u003c/groupId\u003e\n\t\u003cartifactId\u003efastjson-spring-boot-starter\u003c/artifactId\u003e\n\t\u003cversion\u003e10.10.10.RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n默认情况下就能在SpringBoot项目中使用fastjson\n\n# 参数配置\n\n更细致的配置内容参考如下：\n\n## 配置示例\n\n```yml\nfastjson:\n  enabled: true\n  banner: true\n  media-type: application/json;charset=UTF-8\n  date-format: yyyy-MM-dd HH:mm:ss\n```\n\n## 配置说明\n\n### 默认配置\n```yml\nfastjson:\n  enabled: true # 是否启用fastjson(默认为:true)\n  banner: true # 是否开启 LOGO\n  media-type: application/json;charset=UTF-8 # 媒体类型(默认为:application/json;charset=UTF-8)\n  date-format: yyyy-MM-dd HH:mm:ss # 日期格式(默认为:yyyy-MM-dd HH:mm:ss)\n```\n\n\u003e `8.8.8.RELEASE`新增：`date-format`属性，且配置成功会打印控制台信息:`starter for fastJson-----fastJson init success.`\n\n## 贡献者\n\n- [思伟](https://gitee.com/zhousiwei/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeybling%2Ffastjson-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeybling%2Ffastjson-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeybling%2Ffastjson-spring-boot-starter/lists"}