Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Map should fill null values only when set WriteMapNullValue #1837

Closed
wants to merge 2,693 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2693 commits
Select commit Hold shift + click to select a range
ac7e495
fixed testcase for JDK 9
wenshao Sep 24, 2017
eb5ea7c
fixed issue #1498
wenshao Sep 28, 2017
2dfd25f
improved unquoted name support.
wenshao Sep 28, 2017
c923b08
improved unquoted name support.
wenshao Sep 28, 2017
87e54bc
improved date parse support.
wenshao Sep 28, 2017
60168ba
improved date parse support.
wenshao Sep 28, 2017
a206ff0
improved jdk9 support.
wenshao Sep 28, 2017
2c08d3a
improved kotlin support.
wenshao Sep 28, 2017
1899521
add testcase for issue #1480
wenshao Sep 28, 2017
a4ba116
add testcase for issue #1486
wenshao Sep 28, 2017
b55cdd4
add testcase for issue #1462
wenshao Sep 28, 2017
fe8c660
修复在FastJsonHttpMessageConverter 中使用了spring4.x版本新增的TypeResolvable 导致sp…
neil4dong Sep 28, 2017
6b9bc44
Merge pull request #1501 from neil4dong/master
wenshao Sep 29, 2017
736cd86
bug fixed for issue #1503
wenshao Oct 1, 2017
248fafe
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Oct 1, 2017
64e2638
add testcase for issue #1488
wenshao Oct 1, 2017
696ca6c
bug fixed for issue #1494
wenshao Oct 1, 2017
69ae2be
bug fixed for issue #1496
wenshao Oct 1, 2017
2f3bf4b
add testcase for wildcardType.
wenshao Oct 1, 2017
9f6830d
add testcase.
wenshao Oct 1, 2017
b03a94b
1.2.39
wenshao Oct 1, 2017
ec7b296
1.2.40-SNAPSHOT
wenshao Oct 1, 2017
6264ced
add testcase for issue #1450
wenshao Oct 1, 2017
d35a1a1
bug fixed for issue #1474
wenshao Oct 1, 2017
7a3a00b
fix #1500
kimmking Oct 2, 2017
4fc5587
remove unused import
kimmking Oct 2, 2017
a3860da
Merge pull request #1506 from kimmking/master
wenshao Oct 4, 2017
958cd4c
fix #1493
kimmking Oct 4, 2017
10766c9
Merge pull request #1507 from kimmking/master
wenshao Oct 4, 2017
61c31fe
complete test case for #1480
kimmking Oct 4, 2017
11753b8
complete test case for #1492
kimmking Oct 4, 2017
ecc60cb
Merge pull request #1508 from kimmking/master
wenshao Oct 4, 2017
a6151d5
add test code for #1510
kimmking Oct 5, 2017
2885c4f
update fastjson version.
wenshao Oct 6, 2017
65084c1
improved Throwable parser support.
wenshao Oct 6, 2017
3269416
improved Throwable parse JDK9 support.
wenshao Oct 6, 2017
c57ebd4
testcase add assert.
wenshao Oct 6, 2017
e0e9c80
add timezone in setup
kimmking Oct 6, 2017
78ea4a1
recovery JSON.DEFFAULT_LOCAL_DATE_TIME_FORMAT value in test case
kimmking Oct 6, 2017
e4a3bb2
recovery setup and format pattern
kimmking Oct 6, 2017
14dd8f0
修复处理范型的问题,若第一次范型数组类型,第二次空值期望null却返回第一次缓存的数组类型。
Oct 7, 2017
0229c63
Merge pull request #1511 from kimmking/master
wenshao Oct 7, 2017
4ace9d7
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Oct 7, 2017
cf4cb96
fixed testcase.
wenshao Oct 7, 2017
16bfbac
add ns processing for localdatetime
kimmking Oct 7, 2017
386a5ad
remove DEFFAULT_LOCAL_DATE_TIME_FORMAT and modify testcase
kimmking Oct 7, 2017
73a2b78
add timezone for DateFieldFormatTest
kimmking Oct 7, 2017
b77dd28
Merge pull request #1514 from kimmking/master
wenshao Oct 7, 2017
620567f
fixed testcase.
wenshao Oct 7, 2017
b2310ee
Merge pull request #1513 from ma349432587/master
wenshao Oct 7, 2017
57477e4
Revert "修复处理范型的问题。若第一次范型数组类型,第二次空值期望null却返回第一次缓存的数组类型。"
wenshao Oct 7, 2017
c2d4ff1
Merge pull request #1515 from alibaba/revert-1513-master
wenshao Oct 7, 2017
4f0b94b
add testcase for PullRequest #1513
wenshao Oct 7, 2017
cbc2bf5
update version
wenshao Oct 8, 2017
b51c2b2
修复对象转json字符串时处理类的范型属性的bug,若第一次类的范型属性为数组类型,第二次空值期望null却返回第一次缓存的数组类型。
Oct 8, 2017
2bf5625
Merge pull request #1517 from ma349432587/master
wenshao Oct 8, 2017
10aef27
refactor for patch #1517
wenshao Oct 8, 2017
b9fbcc3
bug fixed for issue #1519
wenshao Oct 10, 2017
c300b29
parser support Double.Nan
wenshao Oct 10, 2017
dccc8f2
bug fixed for kotlin concurrent error. for issue #1488
wenshao Oct 10, 2017
fabdd7f
FastJsonProvider add Providers Injectable
VictorZeng Oct 12, 2017
70194a8
add testcase for kotlin support.
wenshao Oct 15, 2017
02168d0
add testcase for issue #1524
wenshao Oct 15, 2017
f3f0081
FastJsonHttpMessageConverter 以及 MappingFastJsonValue 代码优化。 没有逻辑变动
neil4dong Oct 16, 2017
d16b338
Merge pull request #4 from alibaba/master
neil4dong Oct 16, 2017
551a16e
Fix javadoc comment for PropertyFilter.apply()
Oct 18, 2017
b0feb04
Merge pull request #1530 from imJude-z/master
wenshao Oct 18, 2017
106aa80
add testcase resource.
wenshao Oct 19, 2017
e65c8d5
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Oct 19, 2017
7ccc06b
add testcase.
wenshao Oct 19, 2017
2b85627
add testcase.
wenshao Oct 20, 2017
528f695
bug fixed for 'is' prefix fieldName smartMatch. for issue #1529
wenshao Oct 21, 2017
563281d
bug fixed for kotlin support, fixed travis-ci build error.
wenshao Oct 21, 2017
c294d31
bug fixed for kotlin support. for issue #1524
wenshao Oct 21, 2017
9ed07b8
Merge pull request #28 from alibaba/master
VictorZeng Oct 22, 2017
c6a26ae
1.
neil4dong Oct 23, 2017
6c1c2bf
Merge pull request #5 from alibaba/master
neil4dong Oct 23, 2017
87b3fe4
fix issue for #1533
VictorZeng Oct 23, 2017
e86b8a8
Merge pull request #1538 from neil4dong/master
wenshao Oct 24, 2017
5c2766a
Merge pull request #1540 from VictorZeng/master
wenshao Oct 24, 2017
d0b0566
bug fixed for kotlin support. for issue #1543
wenshao Oct 26, 2017
98628ca
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Oct 26, 2017
694659e
bug fixed for kotlin support. for issue #1543
wenshao Oct 26, 2017
b8b82df
bug fixed for issue #1548
wenshao Oct 26, 2017
6bf5212
add testcase for issue #1547
wenshao Oct 26, 2017
7e63912
optimized code.
wenshao Oct 30, 2017
5591c94
fixed testcase.
wenshao Oct 31, 2017
9317d24
add testcase for issue #1558
wenshao Nov 1, 2017
3b4db01
bug fixed for JSONObject ordered.
wenshao Nov 3, 2017
572a8a7
increment IdentityHashMap default size to 4096
wenshao Nov 3, 2017
0b3458a
bug fixed for TypeUtils cast to LinkedHashMap.
wenshao Nov 3, 2017
dc22800
add testcase.
wenshao Nov 3, 2017
8605f86
add testcase for issue #1556
wenshao Nov 3, 2017
1ae312e
update version
wenshao Nov 3, 2017
6946abe
JSONType support config PropertyNamingPolicy. for issue #1555
wenshao Nov 3, 2017
cc13d46
add more error info.
wenshao Nov 3, 2017
5c62fc9
add testcase for issue #1558
wenshao Nov 3, 2017
506aa8d
fixed testcase.
wenshao Nov 3, 2017
3124e67
bug fixed external class.
wenshao Nov 4, 2017
26eddd7
changed IdentityHashMap default size.
wenshao Nov 4, 2017
55859e5
1.2.41-SNAPSHOT
wenshao Nov 4, 2017
29f9ca6
update fastjson version.
wenshao Nov 7, 2017
dc04ece
1.修复字段数超过256时(以及一些其他情况), propertyNamingStrategy无效的问题
neil4dong Nov 7, 2017
743d51d
1.修复字段数超过256时(以及一些其他情况), propertyNamingStrategy无效的问题
neil4dong Nov 7, 2017
044e1b2
1.修复字段数超过256时(以及一些其他情况), propertyNamingStrategy无效的问题
neil4dong Nov 7, 2017
42ddfc7
删除多余的import
neil4dong Nov 7, 2017
33a30bd
Merge pull request #1568 from neil4dong/master
wenshao Nov 7, 2017
f1254a3
fix bug :JSON.toJSONString时候,当有JSONFiled定制注解的字段,json属性名以JSONField为准,不…
lovepoem Nov 8, 2017
5c11b32
Merge pull request #1573 from lovepoem/fixbug_when_JSONFiled_exits_th…
wenshao Nov 8, 2017
0e9063e
bug fixed for kotlin. for issue #1569
wenshao Nov 10, 2017
b12b2d2
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Nov 10, 2017
8b12c4c
add testcase for issue #1576
wenshao Nov 12, 2017
16ef550
add new Feature.SupportAutoType
wenshao Nov 15, 2017
708e949
add testcase.
wenshao Nov 15, 2017
d141fa1
bug fixed for enum deserializer. for issue #1582
wenshao Nov 16, 2017
80e551f
improved enum deserializer support.
wenshao Nov 16, 2017
9a02c17
improved deserialize for Map.Entry. bug fixed for issue #1583
wenshao Nov 16, 2017
666ed73
fixed testcase.
wenshao Nov 16, 2017
2a7ff5b
fixed testcase.
wenshao Nov 16, 2017
0897329
LocalDateTime deserializer support millis. for issue #1571
wenshao Nov 16, 2017
171bd41
fixed testcase for timezone.
wenshao Nov 17, 2017
f9f3457
bug fixed for WriteNullBooleanAsFalse. for issue #1570
wenshao Nov 17, 2017
4e2979b
bug fixed for JSONPath.paths, for issue #1572
wenshao Nov 17, 2017
2f08de2
improved date serialize performance.
wenshao Nov 17, 2017
2994f7b
add testcase for issue #1584
wenshao Nov 17, 2017
ecb4805
update version.
wenshao Nov 17, 2017
59825d5
1.2.42-SNAPSHOT
wenshao Nov 20, 2017
973ddef
提交时间转换对 LocalDate 和 LocalTime 的支持。
duxinglangzi Nov 21, 2017
0482db3
提交时间转换对 LocalDate 和 LocalTime 的支持。
duxinglangzi Nov 21, 2017
eeadb41
Merge pull request #1594 from duxinglangzi/master
wenshao Nov 21, 2017
327cdb9
add timezone support, for pull request #1594
wenshao Nov 21, 2017
687cfe7
LocalDateTime 转换为时间戳 问题。
duxinglangzi Nov 22, 2017
aac4774
bugfix:issue-1555 当某个字段有JSONField注解,JSONField中name属性不存在,并且类上有属性转换策略,j…
lovepoem Nov 22, 2017
e2a52ce
Merge pull request #1600 from duxinglangzi/master
wenshao Nov 22, 2017
7f1c39d
fixed testcase.
wenshao Nov 22, 2017
b9a0491
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Nov 22, 2017
3e28a99
Merge pull request #1601 from lovepoem/fixbug_when_JSONFiled_exits_bu…
wenshao Nov 22, 2017
dd702a6
fixed testcase.
wenshao Nov 22, 2017
fcd2ae7
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Nov 22, 2017
c819040
testcase for #1612
VictorZeng Nov 27, 2017
94f80bf
Merge pull request #1615 from VictorZeng/master
wenshao Nov 28, 2017
e398802
bug fixed for issue #1614
wenshao Dec 1, 2017
b13fd07
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Dec 1, 2017
6065965
bug fixed for issue #1613
wenshao Dec 1, 2017
1350dba
bug fixed for jsonpath. for issue #1627
wenshao Dec 5, 2017
290c308
bug fixed for WriteNullBooleanAsFalse/WriteNullStringAsEmpty/WriteNul…
wenshao Dec 8, 2017
9a1f9c0
add more toJSONBytes method.
wenshao Dec 8, 2017
f1cd9f9
add more toJSONBytes method. for issue #1628
wenshao Dec 8, 2017
eebea03
bug fixed autoType denyList check.
wenshao Dec 11, 2017
5159350
bug fixed for JSONCreator, for issue #1636
wenshao Dec 11, 2017
5f051b8
bug fixed for JSONCreator, for issue #1636
wenshao Dec 11, 2017
771e101
add Feature.NonStringKeyAsString, for issue #1633
wenshao Dec 11, 2017
8e17752
add Feature.NonStringKeyAsString, for issue #1633
wenshao Dec 11, 2017
f7851fb
bug fixed for issue #1603
wenshao Dec 11, 2017
9728b76
add testcase.
wenshao Dec 11, 2017
3c3d1b0
fixed testcase.
wenshao Dec 11, 2017
f00d9b3
bug fixed for JSONObject.toJavaObject. for issue #1611
wenshao Dec 12, 2017
c97f7de
fixed testcase.
wenshao Dec 12, 2017
b7252b2
fixed testcase.
wenshao Dec 12, 2017
75c72b6
fixed testcase.
wenshao Dec 12, 2017
79bc078
ParserConfig add more denyList.
wenshao Dec 12, 2017
085c26d
refactor.
wenshao Dec 12, 2017
b372585
refactor
wenshao Dec 12, 2017
a9305b7
refactor.
wenshao Dec 12, 2017
703fe62
add denyList.
wenshao Dec 12, 2017
0d6e2c2
add more deny list.
wenshao Dec 13, 2017
3ab8476
1.2.43
wenshao Dec 13, 2017
aef8982
add clear method.
wenshao Dec 13, 2017
cd7e8fb
add clear method.
wenshao Dec 13, 2017
117a8b1
improved toJavaObject.
wenshao Dec 13, 2017
f780cfb
bug fixed.
wenshao Dec 13, 2017
0f30d93
bug fixed JSONObject.toJavaBean.
wenshao Dec 14, 2017
d8a5cd8
bug fixed ParserConfig/SerializerConfig clear method
wenshao Dec 14, 2017
6a30e4e
fixed testcase.
wenshao Dec 14, 2017
24dbbd4
fixed testcase.
wenshao Dec 14, 2017
a97be61
fixed testcase.
wenshao Dec 14, 2017
0f56aac
improved checkAutoType.
wenshao Dec 15, 2017
c82cbc9
bug fixed for asm on Mockito, for issue #1652
wenshao Dec 16, 2017
b4ad211
jsonpath support length. for issue #1651
wenshao Dec 16, 2017
d894cf9
jsonpath support length. for issue #1651
wenshao Dec 16, 2017
1936047
JSONType.serialzeFeatures support SerializerFeature.WriteNullStringAs…
wenshao Dec 16, 2017
bc0491a
bug fixed for issue #1647 & #1649
wenshao Dec 16, 2017
732da83
TypeUtils.cast support java.sql.Time. for issue #1644
wenshao Dec 16, 2017
d746bf7
1.2.43
wenshao Dec 16, 2017
9c9f119
1.2.44
wenshao Dec 16, 2017
3c41d1b
improved checkAutoType.
wenshao Dec 20, 2017
2540ef5
improved checkAutoType.
wenshao Dec 20, 2017
3e37637
bug fixed for empty string cast to hashmap. for issue #1657
wenshao Dec 20, 2017
fbc00d5
improved JSONField.format support. for issue #1660
wenshao Dec 20, 2017
4d8a56d
add test case #1662
kimmking Dec 20, 2017
435a5f5
TypeUtils.cast support LocalDateTime. for issue #1645
wenshao Dec 20, 2017
2c6325f
Merge pull request #1664 from kimmking/master
wenshao Dec 20, 2017
8644502
Custom MapDeserializerSupport. for issue #1653
wenshao Dec 20, 2017
a349c87
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Dec 20, 2017
dcdde46
bug fixed for BeanToArray filters. for issue #1580
wenshao Dec 20, 2017
3c1af41
add test dependency.
wenshao Dec 21, 2017
4346677
fixed for issue #1665
wenshao Dec 21, 2017
b0435c9
changed testcase.
wenshao Dec 21, 2017
52a385e
1.2.44
wenshao Dec 21, 2017
a868504
update version.
wenshao Dec 21, 2017
5a2ff70
add testcase for issue #1863
wenshao Dec 30, 2017
ec319f3
add testcase for issue #1679
wenshao Dec 31, 2017
57d1715
support Swagger UI 2.0 filter some types
VictorZeng Jan 3, 2018
ede7dfd
Merge pull request #29 from alibaba/master
VictorZeng Jan 3, 2018
4cb95e2
Merge pull request #1686 from VictorZeng/master
wenshao Jan 3, 2018
e7d027b
Slightly optimize code and remove redundant variables
M-AJ Jan 5, 2018
0cbb6a9
Merge pull request #1690 from M-AJ/master
wenshao Jan 11, 2018
f7d5b7d
bug fixed for issue #1699
wenshao Jan 16, 2018
ff7a861
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Jan 16, 2018
a24409b
bug fixed for issue #1662
wenshao Jan 21, 2018
aeb6801
fixed testcase.
wenshao Jan 21, 2018
2d52f4c
add testcase for issue #1510
wenshao Jan 21, 2018
122a965
bug fixed for BeanToArray with PropertyFilters. for issue #1580
wenshao Jan 21, 2018
121ce90
1.2.46-SNAPSHOT
wenshao Jan 21, 2018
8d05c15
add more denylist.
wenshao Jan 31, 2018
5667284
add more denylist.
wenshao Jan 31, 2018
ff84a08
bug fixed for toJavaObject. for issue #1727
wenshao Feb 1, 2018
fa44583
add testcase for issue #1725
wenshao Feb 1, 2018
2335b4f
bug fixed for scanFloat. for issue #1723
wenshao Feb 1, 2018
c0d266d
bug fixed for enum deser. for issue #1582
wenshao Feb 3, 2018
0978f4e
bug fixed for enum toJavaObject not match. for issue #1582
wenshao Feb 5, 2018
e7a1857
fixed testcase.
wenshao Feb 5, 2018
c4acd9e
add testcase for issue #569
wenshao Feb 5, 2018
15f7171
1.2.47-SNAPSHOT
wenshao Feb 5, 2018
8726ab6
fixed compile warnings.
wenshao Feb 5, 2018
a1057ce
bug fixed for jsonpath.
wenshao Feb 6, 2018
aef705b
jsonpath support '&&' and '||', for issue #1733
wenshao Feb 6, 2018
20510db
Merge pull request #18 from alibaba/master
kimmking Feb 11, 2018
2f45f84
add MappingFastJsonMessageConverter and testcase for spring-messaging
kimmking Feb 11, 2018
fa5c70c
Merge pull request #1737 from kimmking/master
wenshao Feb 12, 2018
a52dc8f
add testcase for issue #1739
wenshao Feb 18, 2018
deb20c7
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Feb 18, 2018
ab9cfc2
bug fixed for float parse. for issue #1723
wenshao Feb 18, 2018
09e090e
Update maven dependencies
netroby Feb 26, 2018
6b71712
Merge pull request #1 from netroby/netroby-patch-1
netroby Feb 26, 2018
22a2ec6
Merge pull request #1745 from netroby/master
wenshao Feb 26, 2018
504496c
JSONField support SerializerFeature.BrowserCompatible, for issue #1764
wenshao Mar 13, 2018
6f9a537
Merge branch 'master' of https://github.com/alibaba/fastjson
wenshao Mar 13, 2018
c254769
JSONType.serialzeFeatures support SerializerFeature.BrowserCompatible…
wenshao Mar 15, 2018
079669f
bug fixed for kotlin support,for issue #1750
wenshao Mar 15, 2018
1439a08
bug fixed for issue #1763
wenshao Mar 15, 2018
7220ccd
add testcases.
wenshao Mar 15, 2018
cb3325e
1.2.48-SNAPSHOT
wenshao Mar 15, 2018
a522561
1.2.48
wenshao Mar 21, 2018
18ed167
bug fixed for issue #1763,如果有多层泛型且前面泛型已经实现的情况下,判断下一级泛型
Mar 23, 2018
97e8c19
add testcase for #1763
Mar 25, 2018
9aae9e0
Merge pull request #1776 from cnlyml/master
wenshao Mar 25, 2018
eacf3f4
update copyright year
severalfly May 2, 2018
af36516
Merge pull request #1826 from severalfly/master
wenshao May 2, 2018
902dd79
Map should fill null values only when set WriteMapNullValue
jason-joo May 8, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/target
/.project
/.settings
/.classpath
/.idea
/.DS_Store
*.iml

/bin/
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: java
jdk:
- oraclejdk8
before_install:
- pip install --user codecov
after_success:
- codecov
branches:
except:
- appveyor
88 changes: 88 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# fastjson

[![Build Status](https://travis-ci.org/alibaba/fastjson.svg?branch=master)](https://travis-ci.org/alibaba/fastjson)
[![Codecov](https://codecov.io/gh/alibaba/fastjson/branch/master/graph/badge.svg)](https://codecov.io/gh/alibaba/fastjson/branch/master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.alibaba/fastjson/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/fastjson/)
[![GitHub release](https://img.shields.io/github/release/alibaba/fastjson.svg)](https://github.com/alibaba/fastjson/releases)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

Fastjson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Fastjson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.

### Fastjson Goals
* Provide best performance in server side and android client
* Provide simple toJSONString() and parseObject() methods to convert Java objects to JSON and vice-versa
* Allow pre-existing unmodifiable objects to be converted to and from JSON
* Extensive support of Java Generics
* Allow custom representations for objects
* Support arbitrarily complex objects (with deep inheritance hierarchies and extensive use of generic types)

![fastjson](logo.jpg "fastjson")

## Documentation

- [Documentation Home](https://github.com/alibaba/fastjson/wiki)
- [Frequently Asked Questions](https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)

## Benchmark

https://github.com/eishay/jvm-serializers/wiki

## Download

- [maven][1]
- [the latest JAR][2]

[1]: http://repo1.maven.org/maven2/com/alibaba/fastjson/
[2]: https://search.maven.org/remote_content?g=com.alibaba&a=fastjson&v=LATEST

## Maven

```xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.46</version>
</dependency>
```

```xml
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.1.68.android</version>
</dependency>
```

## Gradle via JCenter

``` groovy
compile 'com.alibaba:fastjson:1.2.46'
```

``` groovy
compile 'com.alibaba:fastjson:1.1.68.android'
```

Please see this [Wiki Download Page][Wiki] for more repository infos.

[Wiki]: https://github.com/alibaba/fastjson/wiki#download

### *License*

Fastjson is released under the [Apache 2.0 license](license.txt).

```
Copyright 1999-2017 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 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.
```
13 changes: 13 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 1999-2016 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

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.
Binary file added logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading