Skip to main content

Hi , I am getting below error when I do parsing using gson lib for BoxEvent.

event is of type BoxEvent.

gson.toJson(event)

Class com.box.sdk.BoxUser$Info declares multiple JSON fields named 'login'; conflict is caused by fields com.box.sdk.BoxUser$Info#login and com.box.sdk.BoxCollaborator$Info#login

 

Basically I want to create Valid Json of whole BoxEvent without any “\”” String escape. Please suggest suitable solution

Be the first to reply!

Reply