discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

[Patch] Allow alternate strategies for finding handlers. #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The attached patch (created against tags/1.3) allows you to specify alternate 
resolvers when 
attempting to locate the handler for a class.

A resolver that attempts to find the most suitable handler via inheritance 
which will allow you to 
specify a resolver based on an interface (my motivation for starting this) is 
included.

Original issue reported on code.google.com by mr.kevin...@gmail.com on 29 May 2009 at 10:06

Attachments:

GoogleCodeExporter commented 9 years ago
I would have set this as an enhancement rather than a defect given the option.

Original comment by mr.kevin...@gmail.com on 29 May 2009 at 10:06

GoogleCodeExporter commented 9 years ago
deferred for consideration in a future release since this changes Gson's public 
API.

Original comment by inder123 on 29 Sep 2009 at 6:14

GoogleCodeExporter commented 9 years ago

Original comment by inder123 on 1 Nov 2010 at 10:32

GoogleCodeExporter commented 9 years ago
Seems like this is related to issue 164, which wants to find serializers based 
on inheritance.

Original comment by limpbizkit on 4 Nov 2010 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 30 Dec 2011 at 6:28