Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameterized types #6

Closed
ghost opened this issue Oct 30, 2015 · 3 comments
Closed

parameterized types #6

ghost opened this issue Oct 30, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 30, 2015

code with parameterized types, for example a Map results in:
gson.getAdapter(Map<String, String>.class).write(jsonWriter, object.map());
and
map = gson.getAdapter(Map<String, String>.class).read(jsonReader);
which results in a compile time error

@JakeWharton
Copy link
Contributor

#5 should fix this.

On Fri, Oct 30, 2015, 4:58 PM UnknownUntilNow notifications@github.com
wrote:

code with parameterized types, for example a Map results in:
gson.getAdapter(Map.class).write(jsonWriter, object.map());
and
map = gson.getAdapter(Map.class).read(jsonReader);
which results in a compile time error


Reply to this email directly or view it on GitHub
#6.

@ghost
Copy link
Author

ghost commented Oct 30, 2015

fixes it, but it is not uploaded to the sonatype repository

@ghost ghost closed this as completed Oct 30, 2015
@rharter
Copy link
Owner

rharter commented Oct 30, 2015

This has been pushed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants