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
json string to map,int Type conversion Double #1823
Comments
Hi, we will volunteer to work on this issue in October/November. For the project maintainer, please let us know if this is okay and if you want it fixed. |
I think this is partially resolved now with #1290 being merged. In the next version you can use Without more context regarding the use case of @lsm1998, the proper solution would be to use @lsm1998, could you please provide a bit more information about why you want to deserialize the data as Note that I am not a member of this project. |
Closing because this is most likely solved (at least to some extent) with the introduction of |
The cases are as follows:
`
**package test;
import com.google.gson.Gson;
import org.junit.Test;
import java.util.Map;
public class MyTest
{
private Integer id;
private String name;
private float number;
}**
`
id type is int,but the print result is Double
The text was updated successfully, but these errors were encountered: