Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Declares multiple JSON fields named id #42

Closed
erfannf opened this issue Jan 21, 2017 · 3 comments
Closed

Declares multiple JSON fields named id #42

erfannf opened this issue Jan 21, 2017 · 3 comments

Comments

@erfannf
Copy link

erfannf commented Jan 21, 2017

The problem is kinda weird. When I try to store objects that have ID variables inside, I face this exception:

java.lang.IllegalArgumentException: class xxxxx.Article declares multiple JSON fields named id .....

How to solve this problem?

@anupcowkur
Copy link
Owner

anupcowkur commented Jan 21, 2017 via email

@erfannf
Copy link
Author

erfannf commented Jan 21, 2017

The class itself implements a private variable called id with getter and setter. I suspect this is the cause of problem. I will send the calss ASAP!

@anupcowkur
Copy link
Owner

Closed since there is no more info or progress on this. Can be re-opened again if problem persists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants