1.Python 需要json2model吗?
最近用Python写crash监控预警系统,系统在最开始时,加载请求一个监控需要的配置接口。接口返回一个Json结构的数据,如下:
{
"projectName": "X项目",
"projectID": "xproject",
"administrator": "[email protected]",
"threshold":30,
"type":"iOS",
"needCreateTask":false,
"flowTaskName":"FLOWPEO",
"channels": [
{
"channelName": "平台业务",
"channelID": " PlatPlugin",
"manager": "[email protected]",
"threshold":5
},
{
"channelName": "用户评论回复",
"channelID": " disPlugin",
"manager": "[email protected]",
"threshold":5
}
],
"members": [
{
"misID": "[email protected]",
"channelID": "FoodPlugin",
"type": "rd"
},
{
"misID": "[email protected]",
"channelID":