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

how to convert complex generic type? #205

Open
stoneLee81 opened this issue Apr 7, 2017 · 1 comment
Open

how to convert complex generic type? #205

stoneLee81 opened this issue Apr 7, 2017 · 1 comment

Comments

@stoneLee81
Copy link

Is there a demo to explain how to convert complex generic type data?
data type for instance,

public class DataObject {

private String status;

private String errorCode;

private String message = "";

private String type;

private T data;

private PageInfo<T> page;

}

public class PageInfo {

private int page = 1;

private int pageSize = 10;

private int total;

private int maxPage;

private List<T> items;

}

@bluef
Copy link

bluef commented Oct 17, 2017

check out the roundtrip test

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