This project show , how to use json parse model.
## Model Json Array
'{
"users":[
{
"id":1,
"name":"Taylan",
"mail":"taylan@outlook.com",
},
{
"id":2,
"name":"Mazlum",
"mail":"mazlum@outlook.com",
},
{
"id":3,
"name":"Can",
"mail":"can@outlook.com",
},
{
"id":4,
"name":"Eylul",
"mail":"eylul@outlook.com",
}
]
}'
## Model Json Complex Array
'{
"success":1
"users":[
{
"id":1,
"name":"Taylan",
"mail":"taylan@outlook.com"
},
{
"id":2,
"name":"Mazlum",
"mail":"mazlum@outlook.com"
},
{
"id":3,
"name":"Can",
"mail":"can@outlook.com"
},
{
"id":4,
"name":"Eylul",
"mail":"eylul@outlook.com"
}
]
}'
## Complex Film Json Array
'{
"success":1,
"films":
[
{
"id":1,
"name":"anotalia",
"img":"anatolia.png",
"director":
{
"id":1,
"name":"Nuri Bilge Ceylan"
},
"category":
{
"id":1,
"name":"Dram"
},
},
{
"id":2,
"name":"Django",
"img":"django.png",
"director":
{
"id":2,
"name":"Quentin Tarantino"
},
"category":
{
"id":2,
"name":"Dram"
},
}
]
}'
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.