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

Support JAXB/Jackson Objects in Request Param #52

Open
kaja-mohideen opened this issue Jan 8, 2015 · 0 comments
Open

Support JAXB/Jackson Objects in Request Param #52

kaja-mohideen opened this issue Jan 8, 2015 · 0 comments
Milestone

Comments

@kaja-mohideen
Copy link

I have Request/Response JaxB POJOs. I want to use them in such a way that the params in JSONRPC request use the field names in my POJOs. But, right now, it is not supported. So, I have to annotate my single Request Param with a param name.

Desired
{"jsonrpc": "2.0", "method": "someMethod", "params": {"paramA": 23, "paramB": 42}, "id": 3}

Right now, the request is as follows
{"jsonrpc": "2.0", "method": "someMethod", "params": {"input": {"paramA": 23, "paramB": 42}}, "id": 3}

May I request to support this feature?

@gaborbernat gaborbernat self-assigned this Nov 10, 2015
@gaborbernat gaborbernat added this to the 1.5.0 milestone Nov 10, 2015
@gaborbernat gaborbernat removed their assignment Mar 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants