Inderjeet Singh
4512f31c69
Added PostConstruct Factory sample in Extras.
2016-09-16 17:35:34 -07:00
Juan Andrés Diana
86d88c32cf
The method registerTypeAdapterFactory accepts a TypeAdapterFactory instance only.
2016-05-25 15:49:39 -03: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
Egor N
edaf59e178
Fix RuntimeTypeAdapterFactory javadoc
2016-02-19 16:14:55 +02:00
Lachlan Coote
1867457030
fix #680 - make RuntimeTypeAdapterFactory null-safe
2015-08-05 16:27:18 -07:00
Inderjeet Singh
0c3b9670f0
Ensuring that UTC date adapter serializes nulls correctly
2014-12-05 22:12:54 +00:00
Inderjeet Singh
f0f9ce42f4
using only Jackson iso8601 implementation for UTC date adapter
2014-12-05 08:28:25 +00:00
Inderjeet Singh
0e3708be82
updated UTC type adapter to support JDK 1.6 using Jackson ISO8601 parsing util
2014-12-05 07:41:08 +00:00
Inderjeet Singh
255f2e2847
added a sample Date type adapter for UTC
2014-12-05 00:16:24 +00:00
Inderjeet Singh
7a5cef9305
Revised to the new name getDelegateAdapter.
2012-04-14 19:04:14 +00:00
Jesse Wilson
796a381279
Kill GsonInternalAccess. Clients to this were all broken because nobody was ever assigning INSTANCE.
2012-01-01 12:42:20 +00:00
Jesse Wilson
ecdf9150f6
Hide Gson.getNextAdapter() for the current release.
2011-12-31 05:30:40 +00:00
Jesse Wilson
4057b98bab
Implement all but the most difficult part of graph type adapter's deserialization. The catch is we want to return an instance that we don't have yet. It's on the stack, but we don't have a handle to it because it's inside the 'nextTypeAdapter' who is busy populating its fields.
2011-12-30 08:27:24 +00:00
Jesse Wilson
d7fbac0384
Rename TypeAdapter.Factory to TypeAdapterFactory.
2011-12-23 18:27:13 +00:00
Jesse Wilson
f602bce9f5
Nice documentation for TypeAdapter.
2011-12-03 19:46:25 +00:00
Jesse Wilson
26ab404599
Cleanup names for TypeAdapters.
2011-12-02 22:57:30 +00:00
Jesse Wilson
f39ac8d946
Update extras to build after today's Gson/MiniGson refactoring.
2011-11-21 05:09:14 +00:00
Jesse Wilson
b892c85909
Sync RuntimeTypeAdapterFactory to recent internal API changes
2011-10-19 17:49:02 +00:00
Jesse Wilson
46e65a77c5
Convert RuntimeTypeAdapter to a TypeAdapterFactory; this avoids the need for serializeDefault()
2011-09-28 19:14:46 +00:00
Inderjeet Singh
62675b7f46
Added serializeDefault and deserializeDefault methods in contexts that only invoke system type adapters on the top-level object.
...
With this, the RuntimeTypeAdapterTest passes.
2011-07-01 21:29:20 +00:00
Jesse Wilson
9ad3358728
Document RuntimeTypeAdapter
2011-06-06 05:40:13 +00:00
Jesse Wilson
3d50a6b72a
New failing test for RuntimeTypeAdapters!
2011-05-27 18:47:31 +00:00
Jesse Wilson
d93825ba72
First draft of RuntimeTypeAdapters
2011-05-14 02:04:17 +00:00