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

Adding Gson annotations to the Page<T> object to make it serialize nicely #68

Open
wasperen opened this issue Jan 6, 2018 · 0 comments

Comments

@wasperen
Copy link

wasperen commented Jan 6, 2018

I am working on a set of Nifi - CouchDB processors. Using the Page mechanism to chunk results up in a set of smaller FlowFiles.

Rather than create my own "Page"-like object, I would like to annotate your Page class such that it serializes nicely. My idea is to make the nextParam a transient field and define lower case with underscore alternative names for the other fields.

I'll create a pull request to show what I mean.

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

1 participant