achrefB3 / google-api-java-client

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

Support for non-json alt types #220

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

https://www.googleapis.com/discovery/v1/apis/buzz/v1/rest

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

All

Please describe the feature requested.

Currently the generated model assumes that alt=json.  However, the Google API 
infrastructure supports alternative types, e.g. Buzz above also supports 
alt=xml.  There are plans for other types in the future we will want to support.

Original issue reported on code.google.com by yan...@google.com on 25 May 2011 at 2:29

GoogleCodeExporter commented 9 years ago
I don't see the value yet. If they are true alternates, than json vs. xml is 
just a wire format difference, which the library hides

Do you have a design in mind where the data models for XML based transport are 
different?

Original comment by ai...@google.com on 27 May 2011 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 24 Oct 2012 at 5:28