Jake Wharton
b1eeae53bc
Merge pull request #955 from melquiadess/update-ver-in-maven-example
...
Update gson version to 2.8 in Maven example
2016-11-08 11:16:33 -05:00
Greg Koblanski (melquiades)
9a2d8a20a4
Update gson version used in the Maven example
2016-11-08 16:13:31 +00:00
jwilson
fca867d356
Fix GitHub Diff link.
2016-10-26 23:07:34 -07:00
jwilson
14c8c1a82b
[maven-release-plugin] prepare for next development iteration
2016-10-26 23:01:41 -07:00
jwilson
e9ead40302
[maven-release-plugin] prepare release gson-parent-2.8.0
2016-10-26 23:01:37 -07:00
jwilson
512d7b83cd
Changelog for Gson 2.8.
2016-10-26 23:01:07 -07:00
inder123
63a69ad132
Merge pull request #943 from fs-opensource/master
...
README.md Add a 2nd third party tutorial resource
2016-10-25 18:23:43 -07:00
Norman Peitek
61d46cb971
README.md Add a 2nd third party tutorial resource
2016-10-07 22:40:45 +02:00
Jesse Wilson
21ed8b4cd6
Merge pull request #930 from google/269_post_construct_adapter
...
Added PostConstruct Factory sample in Extras.
2016-10-03 19:46:58 -04:00
inder123
0636635cbf
Merge pull request #931 from enhdless/master
...
Remove deprecated useDefaultManifestFile for jar plugin
2016-09-18 22:44:19 -07:00
Heidi Dong
e10442714e
Remove deprecated useDefaultManifestFile for jar plugin
2016-09-17 00:23:49 -07:00
Inderjeet Singh
4512f31c69
Added PostConstruct Factory sample in Extras.
2016-09-16 17:35:34 -07:00
inder123
504d8240cc
Merge pull request #922 from google/921
...
Added @Documented to Gson annotations.
2016-09-15 18:25:59 -07:00
Inderjeet Singh
688f918a35
Added @Documented to Gson annotations.
...
This is useful since it shows the JSON format for a class which the user of that class should typically know.
2016-09-15 18:24:21 -07:00
inder123
d08e077cfb
Merge pull request #926 from ChaitanyaPramod/patch-1
...
Prevent Proguard from stripping interface info from @JsonAdapter classes
2016-09-14 16:54:11 -07:00
Chaitanya Pramod
74f4f74b8b
Prevent Proguard from stripping interface info from @JsonAdapter classes
...
Previously after Proguard, the classes would no longer implement the interfaces, leading to `JsonAdapterAnnotationTypeAdapterFactory` throwing.
Fixes #925
2016-09-14 18:57:35 +05:30
inder123
2271525dd5
Merge pull request #900 from google/jw/array-and-parameterized-factories
...
Add static factories for array and parameterized type tokens.
2016-08-12 09:58:55 -07:00
Jake Wharton
9414b9b3b6
Add static factories for array and parameterized type tokens.
...
These are useful when creating TypeAdapterFactories that delegate to others with more complex types. They also are useful when writing dynamic code that deals with types that cannot be fully reified using the normal subclass technique.
2016-08-12 12:11:57 -04:00
inder123
8b464231f7
Merge pull request #881 from testcenter/master
...
made nullSafe wrapper of JsonAdapter optional
2016-07-03 01:53:19 -07:00
testcenter
193349f4aa
made nullSafe wrapper of JsonAdapter optional
2016-06-28 09:18:03 +02:00
inder123
f482f4a1cb
ChangeLog for 2.7
2016-06-14 17:22:32 -07:00
inder123
28c8e1c29b
Updated to 2.7
2016-06-14 17:07:51 -07:00
Inderjeet Singh
0a29fcf859
[maven-release-plugin] prepare for next development iteration
2016-06-14 16:52:32 -07:00
Inderjeet Singh
9722b00372
[maven-release-plugin] prepare release gson-parent-2.7
2016-06-14 16:52:28 -07:00
inder123
86765d2331
Merge pull request #875 from google/gson_2.7
...
Preparing 2.7-SNAPSHOT to cut the 2.7 release.
2016-06-14 16:46:57 -07:00
Inderjeet Singh
687ddb319e
Preparing 2.7-SNAPSHOT to cut the 2.7 release.
2016-06-14 16:39:19 -07:00
inder123
b2c00a3b02
Merge pull request #873 from google/jwilson.0601.get_delegate_adapter
...
Add support for JsonSerializer/JsonDeserializer in the JsonAdapter annotation
2016-06-14 16:37:14 -07:00
Inderjeet Singh
1f859ec769
addressed code review comments.
2016-06-14 16:34:34 -07:00
Jesse Wilson
c24af30407
Merge pull request #871 from google/jw/tree-json-path
...
Implement JSON Path for JsonTreeReader.
2016-06-09 23:32:24 -07:00
Jesse Wilson
5f63fcec98
Merge pull request #872 from google/jw/object-size
...
Expose JsonObject size.
2016-06-09 23:06:50 -07:00
Jake Wharton
c16be41e77
Expose JsonObject size.
2016-06-10 00:46:32 -04:00
Jake Wharton
c2fae85a9f
Implement JSON Path for JsonTreeReader.
2016-06-10 00:14:28 -04:00
inder123
ebad966efd
Merge pull request #870 from google/jw/reader-location
...
Consolidate location and path rendering for exceptions.
2016-06-09 15:26:10 -07:00
Jake Wharton
ecaa57114f
Consolidate location and path rendering for exceptions.
2016-06-09 18:02:36 -04:00
jwilson
86ccf826fc
Merge branch 'deyboy90-master'
...
* deyboy90-master:
Enhancing the json reader, adding corresponding test case for it
2016-06-02 09:20:06 -04:00
Archit Dey
3f8726ecaf
Enhancing the json reader, adding corresponding test case for it
2016-06-02 09:19:43 -04:00
jwilson
2df65502ed
Don't use ThreadLocals for @JsonAdapter factories and getDelegateAdapter().
2016-06-02 00:33:09 -04:00
Inderjeet Singh
943c674276
Removed ThreadLocal for activeJsonAdapterClasses
2016-06-02 00:08:25 -04:00
Inderjeet Singh
45511fdd15
Added support for JsonSerializer/JsonDeserializer for JsonAdapter annotation.
...
JsonAdapter is cached per the type of the JsonAdapter class.
Added a test to ensure JsonAdapter works on fields of parameterized types
Keep track of registered JsonAdapters and JsonAdapterFactorys in ThreadLocal.
2016-06-02 00:08:25 -04:00
Jake Wharton
daa92e3fdc
Merge pull request #865 from juandiana/runtimetypeadapterfactory-docs-fix
...
Fix registerTypeAdapterFactory method usage
2016-05-25 15:10:18 -04:00
Juan Andrés Diana
86d88c32cf
The method registerTypeAdapterFactory accepts a TypeAdapterFactory instance only.
2016-05-25 15:49:39 -03:00
inder123
854760e6c7
Merge pull request #864 from juandiana/runtimetypeadapterfactory-docs-fix
...
Minor documentation fix on RuntimeTypeAdapterFactory
2016-05-24 13:58:21 -07:00
Juan Andrés Diana
d4a9eb4e7b
Docs fix for the RuntimeTypeAdapterFactory class.
...
Instances of classes that implement RuntimeTypeAdapterFactory should be registered using the registerTypeAdapterFactory method instead of registerTypeAdapter.
2016-05-24 16:45:55 -03:00
inder123
2360cfa05c
Merge pull request #863 from nykolaslima/explicit-null-in-json
...
handle explicit null values in JSON
2016-05-23 23:17:54 -07:00
Nykolas Lima
2928b3ef97
handle explicit null values in JSON
2016-05-23 16:44:30 -03:00
Jesse Wilson
bb451eac43
Merge pull request #832 from google/831
...
Ensuring that JsonAdapter annotation works correctly for primitive fi…
2016-05-17 17:26:52 -04:00
Inderjeet Singh
3ff16c30db
Don't use a runtime wrapper if a JsonAdapter annotation is present on a field.
...
This ensures that JsonAdapter annotation works correctly on a primitive field.
This is a potentially backward incompatible change.
2016-05-17 13:30:59 -07:00
Jesse Wilson
ecda3582a6
Merge pull request #857 from google/jdk16_regression
...
Replaced a JDK 1.7 specific method with its JDK 1.6 equivalent.
2016-05-17 07:38:50 -04:00
Inderjeet Singh
61f83d6309
Replaced a JDK 1.7 specific method with its JDK 1.6 equivalent.
2016-05-17 01:03:00 -07:00
Jake Wharton
0f80936ecd
Merge pull request #853 from Baschdl/patch-1
...
Corrected documentation, copy&paste error
2016-05-12 08:57:34 -07:00