[英]how to create complex json using json_model pakage flutter
"masses": [
{
"Sunday":
[
{
"mass_timing": "7.00 AM",
"mass_place": "First Mass",
"mass_note": "English Mass"
},
{
"mass_timing": "7.00 AM",
"mass_place": "First Mass",
"mass_note": "English Mass"
}
]
},
{
"Monday": [
{
"mass_timing": "7.00 AM",
"mass_place": "First Mass",
"mass_note": "English Mass"
},
{
"mass_timing": "7.00 AM",
"mass_place": "First Mass",
"mass_note": "English Mass"
}
]
} ]
My JSON is like this I need to create a JSON model using the package json_model我的 JSON 是这样的我需要使用 package json_model 创建一个 JSON model
can anyone help me to create the json_model dynamic json file to generate json serialization谁能帮我创建 json_model 动态 json 文件来生成 json 序列化
I will suggest using https://app.quicktype.io/ as it's as it's name says, very quick and you don't need to add a package in your project but of course you need some little modifications on your model to customize it on your case, just choose dart and enjoy.我会建议使用https://app.quicktype.io/正如它的名字所说,非常快,你不需要在你的项目中添加 package 但当然你需要对你的 model 进行一些小的修改来自定义它根据您的情况,只需选择 dart 即可享受。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.