Right now I have the following JSON string:
"{"1":{"from":"540","to":"1020"},"2":{"from":"540","to":"1020"},"3":{"from":"540","to":"1020"},"4":{"from":"540","to":"1020"},"5":{"from":"540","to":"1020"},"6":{"from":"540","to":"1020"},"7":{"from":"540","to":"1020"}}"
and I want to parse it in Android Studio and iterate all just for this kind of result:
String day = monday;
int hourstart = from;
int hoursclose = to;
of course from and to means numbers. Does anyone know how construction of a JSON parser should look like?