Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Entity implements Serializable {
- @SerializedName("body")
- @Expose
- private BodyObject body;
- {
- "body": []
- }
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 443 path $.body
- {
- "body": {
- "und": [
- {
- "value": "Test ....",
- "summary": "",
- "format": "filtered_html",
- "safe_value": "<p>Test ....</p>n",
- "safe_summary": ""
- }
- ]
- }
- }
- Gson gson = new GsonBuilder()
- .setLenient()
- .create();
Add Comment
Please, Sign In to add comment