in the past i have already parsed a json file from url to local sqlite database and the json source was like the following one:
[
    {
        "origin": "accommodation",
        "parent": "",
        "en": "Accommodation"
    },
    {
        "origine": "book",
        "parent": "shopping",
        "en": "Book"
    },
    {
        "origin": "university",
        "parent": "education",
        "en": "University"
    }
]
But now it seems to be different. I validate the following json file so i'm sure it is a valid json, but it is formatted in a different way, so i do not know how to parse it in the right way. In addition this time i would put the content in an ArrayList. Here is the json file:
{
    "city1": {
        "item1": {
            "score": 6196.58,
            "step": 0.00423,
            "name": "User 1",
            "form": "yellow"
        },
        "item2": {
            "score": 106.86,
            "step": 2.5822,
            "name": "User 2",
            "form": "yellow"
        },
        "item3": {
            "score": 671.48,
            "step": 0.387,
            "name": "User 3",
            "form": "yellow"
        },
    },
    "misc": {
        "online_users": {
            "kind1": 18,
            "kind2": 3
        },
        "ops": [
            ""
        ]
    },
    "city2": {
        "item1": {
            "score": 6196.58,
            "step": 0.00405,
            "name": "User 1",
            "form": "yellow"
        },
        "item2": {
            "score": 179563.93,
            "step": 0.000138,
            "name": "User 2",
            "form": "yellow"
        },
        "min_size": {
            "line": 10
        },
        "out_of_sync": [
            "0e888069530497506433b5f0cacb",
            "b428fa3a9b9e13cf8b26196bfcc7",
            "f42442a2e46523f059809f83f1a9"
        ],
    },
}
Can you tell me how to handle these values and how to put in some arraylist?
 
     
    