Commit Graph

1403 Commits

Author SHA1 Message Date
jwilson
d5c090835f Merge branch 'rharter-rh/config-props'
* rharter-rh/config-props:
  Adds getters for config fields.
2016-04-26 15:30:40 -04:00
Ryan Harter
a851569ab9 Adds getters for config fields.
This adds simple getters for certain config fields that would be helpful in custom
TypeAdapters to deal with situations like this:
https://github.com/rharter/auto-value-gson/issues/18
2016-04-26 15:30:01 -04:00
Jake Wharton
18f1795d18 Merge pull request #837 from zzz40500/patch-1
Documentation Error
2016-04-23 13:40:53 -04:00
zzz40500
71ee0e3759 Documentation Error
String anotherStr = gson.fromJson("[\"abc\"]", String.class); => String[] anotherStr = gson.fromJson("[\"abc\"]", String[].class);
2016-04-24 01:36:52 +08:00
Jesse Wilson
874e74a307 Merge pull request #836 from google/jw/boxed-boolean
Add boxed boolean value() overload.
2016-04-22 14:54:25 -10:00
Jake Wharton
59edfc1caf Add boxed boolean value() overload.
When calling value() with a Boolean overload resolution would choose value(boolean) which would throw an NPE on null. The other boxed types are all numbers which would resolve to value(Number) and behave correctly.
2016-04-22 19:52:38 -04:00
Jesse Wilson
0f66f4fac4 Merge pull request #829 from ionspin/master
Check if class can be instantiated based on class modifiers. Fix for #817
2016-04-22 06:47:08 -10:00
Ugljesa Jovanovic
ab40462cc7 Check if class can be instantiated based on class modifiers. If not throw an unsupported operation exception. 2016-04-20 10:43:34 +02:00
inder123
6f6af80507 Merge pull request #830 from gavlyukovskiy/patch-1
fixed throwing RuntimeException instead of JsonIOException
2016-04-15 22:31:31 -07:00
gavlyukovskiy
966de9e60d fixed throwing RuntimeException instead of JsonIOException 2016-04-15 21:00:59 +03:00
inder123
a477f4f0ca Merge pull request #826 from sgbrown/htmlEncodeInJavadocCodeBlock
minor javadoc @code block cleanup
2016-04-09 00:28:44 -07:00
Scott Brown
9c4f352320 minor javadoc fix ... @code block not treated as html 2016-04-08 19:34:05 -06:00
inder123
48c430b811 Merge pull request #823 from rs017991/patch-1
UserGuide Grammar Corrections
2016-04-05 09:45:18 -07:00
Ryan Scheidter
4f031a4e78 UserGuide Grammar Corrections 2016-04-05 09:20:14 -05:00
Jesse Wilson
87cddacec5 Merge pull request #820 from google/819
Fixed unbound range bug issue# 819
2016-03-30 07:31:57 -04:00
Inderjeet Singh
93414608af Fixed unbound range bug issue# 819 2016-03-30 01:02:24 -07:00
Jesse Wilson
0c7e399819 Merge pull request #818 from google/gsoncontext_refactoring
moved the JsonSerializationContext/JsonDeserializationContext fields …
2016-03-28 19:20:02 -04:00
Inderjeet Singh
34d7521d95 moved the JsonSerializationContext/JsonDeserializationContext fields to where they are used.
Also moved TreeTypeAdapter to internal.bind package for potential use in JsonAdapterAnnotationFactory.
2016-03-28 14:46:02 -07:00
inder123
ee8d6be59f deleted Javadoc updating process since we are now using javadoc.io 2016-03-25 09:24:53 -07:00
inder123
d9726b9a73 revised Gson download link to maven central 2016-03-25 09:23:02 -07:00
inder123
a23a7dba2d Update README.md 2016-03-25 09:21:59 -07:00
inder123
26f3b2d637 Merge pull request #816 from valery1707/badges
Add some useful badges with automatic version detection: Maven and Javadoc
2016-03-25 09:20:28 -07:00
Valeriy.Vyrva
4fdef155ce Add some useful badges with automatic version detection: Maven and Javadoc 2016-03-25 16:16:19 +06:00
Jesse Wilson
2b08c88c09 Merge pull request #809 from sgbrown/unquoted_integer_issue604_issue524
allow unquoted long and integer keys
2016-03-12 15:51:22 -05:00
Scott Brown
0669ff7fd1 allow unquoted long and integer keys 2016-03-12 11:52:13 -07:00
inder123
a02f575797 Merge pull request #806 from qwwdfsad/master
Gson synchronized map replaced with concurrent hash map
2016-03-05 13:54:12 -08:00
qwwdfsad
31dcfa3ad6 More appropriate usage of null key surrogate in Gson#getAdapter for backward compatibility 2016-03-05 02:08:26 +03:00
qwwdfsad
c5611847a3 Gson synchronized map replaced with concurrent hash map 2016-03-05 00:28:25 +03:00
inder123
1f15d76b23 2.6.2 release 2016-02-26 20:00:54 -08:00
inder123
54a1daa835 Update CHANGELOG.md 2016-02-26 20:00:10 -08:00
inder123
ebf43521cf 2.6.2 changelog 2016-02-26 19:21:36 -08:00
inder123
956f59fd59 2.6.2 2016-02-26 19:03:37 -08:00
inder123
acc61867aa switch Using with Maven page to use GitHub link 2016-02-26 19:03:02 -08:00
Inderjeet Singh
416ddb101d [maven-release-plugin] prepare for next development iteration 2016-02-26 18:31:14 -08:00
Inderjeet Singh
fe62b04148 [maven-release-plugin] prepare release gson-parent-2.6.2 2016-02-26 18:22:26 -08:00
inder123
4f9d3e48d9 Merge pull request #802 from google/reverted-gson-2.6.2
previous mvn release:prepare failed but updated GitHub anyway. Fixing…
2016-02-26 18:21:38 -08:00
Inderjeet Singh
0dfa28ac3e previous mvn release:prepare failed but updated GitHub anyway. Fixing that. 2016-02-26 18:19:41 -08:00
Inderjeet Singh
607bcaaf9d [maven-release-plugin] prepare for next development iteration 2016-02-26 18:14:54 -08:00
inder123
f570002a25 Merge pull request #801 from google/jdk8_doclint_disable
Added JDK 8 doclint exclusion section
2016-02-26 18:14:08 -08:00
Inderjeet Singh
42276de763 Added JDK 8 doclint exclusion section 2016-02-26 18:13:43 -08:00
Jesse Wilson
dea305503a Merge pull request #800 from google/nullsafe_regression_bugfix
Fixed a regression in Gson 2.6 where Gson caused NPE if the TypeAdapt…
2016-02-26 13:35:59 -05:00
Inderjeet Singh
1ab73ffd21 incorporated code review feedback by eliminating the stringified type adapter. 2016-02-26 09:25:23 -08:00
Inderjeet Singh
1fa43821e8 removed unneeded null check. 2016-02-25 19:37:07 -08:00
Inderjeet Singh
79a00cd906 incorporated code review feedback. Simplified the code, merged Device and Control and removed unnecessary fields. 2016-02-25 17:38:48 -08:00
Inderjeet Singh
c731abb293 Fixed a regression in Gson 2.6 where Gson caused NPE if the TypeAdapterFactory.create() returned null. 2016-02-25 13:56:42 -08:00
Jesse Wilson
67bd3a2cf6 Merge pull request #797 from seanbright/osgi-manifest-headers
Restore OSGi manifest headers
2016-02-25 00:08:20 -05:00
Jesse Wilson
29362de134 Merge pull request #798 from ghandhikus/patch-1
Minor readability edit
2016-02-25 00:06:41 -05:00
ghandhikus
0ef3659692 Minor readability edit 2016-02-24 19:50:07 +01:00
Sean Bright
4eff1a855f Restore OSGi manifest headers
Commit 2016e95 removed the necessary MANIFEST.MF headers for Gson to
resolve in an OSGi environment. This patch restores them.
2016-02-24 09:14:09 -05:00
Jesse Wilson
8f8d903913 Merge pull request #794 from jpaugh/patch-1
Collapse bullets into a paragraph
2016-02-22 20:32:16 -05:00