rlalfo / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

ObjectParser that uses jackson.databind.ObjectMapper #261

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?
jackson-databind:
https://github.com/FasterXML/jackson-databind

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?
All

Please describe the feature requested.
It would be nice if the Google HTTP Client's Jackson2 library contained an 
implementation of ObjectParser that used a Jackson2 ObjectMapper so that an 
HttpRequest could utilize Jackson2's data-binding functionality.

I've attached the implementation I wrote for a project. It's very simple but I 
imagine it'd be very convenient to have already included. I don't know about 
GSON or the other JSON libraries supported by Google HTTP Client but if they 
don't already have data-binding ObjectParsers included then I think they 
should, too.

Original issue reported on code.google.com by tenyoung...@gmail.com on 10 May 2014 at 7:12

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by wonder...@google.com on 31 Dec 2014 at 7:13