Fastjson 是一个 Java 库,可用于将 Java 对象转换为其 JSON 表示。它也可用于将 JSON 字符串转换为等效的 Java 对象。Fastjson 可以处理任意 Java 对象,包括你没有源代码的已有对象。
FASTJSON 2.0.x 已经发布,更快更安全,我们建议你升级到最新版本。

<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>2.0.31</version>
</dependency>
compile 'com.alibaba:fastjson:2.0.28'
更多仓库信息请参见此Wiki 下载页面。
Fastjson 基于 Apache 2.0 许可证 发布。
Copyright 1999-2020 Alibaba Group Holding Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at the following link.
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.