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

Provide JsonParser.readAsValue(ResolvedType) #1966

Closed
krichter722 opened this issue Mar 10, 2018 · 1 comment
Closed

Provide JsonParser.readAsValue(ResolvedType) #1966

krichter722 opened this issue Mar 10, 2018 · 1 comment
Labels
Milestone

Comments

@krichter722
Copy link

Since JsonParser.readAsValue(Class) and readAsValue(TypeReference) delegate to ObjectCodec.readValue(JsonParser, Class/TypeReference) this should be not a problem to implement. This would solve issues with runtime type erasure like this one described at stackoverflow.com.

I wanted to get started on this feature, but can't because of #1965 .

@cowtowncoder
Copy link
Member

Moved to FasterXML/jackson-core#456 -- I implemented this earlier; makes sense.

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

No branches or pull requests

2 participants