Skip to content

Instantly share code, notes, and snippets.

@engr-erum
Last active December 7, 2017 07:37

Revisions

  1. engr-erum created this gist Dec 7, 2017.
    20 changes: 20 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    [
    {
    "2EjddfdfdfdfdfdfKLH": {
    "edition": 1,
    "language": "ap,sp,ai",
    "is_public": true
    }
    },
    {
    "2dldfdfdfdfdfVzqE": {
    "edition": 1,
    "language": "ap,ai,es",
    "is_public": true
    }
    }
    ]


    How will i parse this using retrofit lib ?
    Second architecture point of view can i break language in a separate table ? or model class in case of Realm ?