-
-
Notifications
You must be signed in to change notification settings - Fork 951
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
Multipart Image Upload along with JSON data #226
Comments
Pass a class object instead of JsonObject by setting the each value in an object. |
Passing class object after setting values to its fields using setters, above method still gives error com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_OBJECT at line 1 column 53 path $. |
why did u close this problem without explain, i facing same problem here event i passed custom class as our guide here is example of jsonconvert :
|
I am trying to upload image file along with JSON Object
Here is my code snippet
and my error log
The text was updated successfully, but these errors were encountered: