google / google/gson

Add convenience method for POJO to POJO conversion

Open
#1,840 3 comments 0 reactions 0 assignees View on GitHub
enhancement needs-info
Dominant language
Java
Stars
24.2k
Forks
4.5k
Avg merge
6d 4h
Merged PRs (30d)
12

Description

Jackson has this feature:
https://fasterxml.github.io/jackson-databind/javadoc/2.12/com/fasterxml/jackson/databind/ObjectMapper.html#convertValue-java.lang.Object-java.lang.Class-

Would be great to have this in Gson. Tired of creating custom Converter classes :-)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.